Reputation: 862
I had a local repository cloned from a remote one. I made many commits from it but stupidly delete that repository without pushing back to the remote repository. I somehow managed to recover the directory. Now I am wondering whether the commits will also be recovered with the recovery or not ?
Upvotes: 0
Views: 168
Reputation: 8879
If you didn't push your commits to remote repository and deleted local repository it means that you will not find this commits at repository anymore. If you have any backups it can help you. Other possible way - recover this files from the file system after deletion. It's complicated way and didn't guarantee the full recovery.
Upvotes: 1