How does git merge projects that are not managed by git with code in github remote repositories?

problem description

the original project is associated with the github remote branch, and one day my .git directory was accidentally lost. I made a lot of changes in the project. I found this problem when I submitted, and how to continue to associate with the remote project to submit without damaging the warehouse records.

Git
Mar.25,2021

find a place to copy the .git directory back, and that's it.


the easiest way is to re-clone, a new branch, a backup branch, and then put the .git directory in your directory. Or re-clone, to create a new backup branch, and then overwrite your files to the clone directory.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eadb30-47f3f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eadb30-47f3f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?