I’m not an expert. But you can try
git fsck --full --no-reflogs | grep commit
to find the HEAD commit of deleted branch and get them back.
More Related Contents:
- Pushing to Git returning Error Code 403 fatal: HTTP request failed
- Can’t push to GitHub because of large file which I already deleted
- Preferred Github workflow for updating a pull request after code review
- git gc –aggressive vs git repack
- Github remote permission denied
- Clone only one branch [duplicate]
- Github Push Error: RPC failed; result=22, HTTP code = 413
- Remote origin already exists on ‘git push’ to a new repository
- How to link to specific line number on github
- Can you issue pull requests from the command line on GitHub?
- Git lfs – “this exceeds GitHub’s file size limit of 100.00 MB”
- Clone A Private Repository (Github)
- Merge changes from remote github repository to your local repository
- How are commits counted by the GitHub contributions graph?
- git 2.32 git push -u origin master Nothing happens
- How can I rollback a git repository to a specific commit?
- I can’t delete a remote master branch on git
- Why doesn’t git recognize that my file has been changed, therefore git add not working
- How to keep different content of one file in my local and github repository?
- How to commit a change with both “message” and “description” from the command line? [duplicate]
- git push heroku master says “Everything up-to-date”, but the app is not current
- Connecting one Github repository to several Aptana projects
- GitHub Clone with OAuth Access Token
- Git Clone – Repository not found
- How to push changes to github after jenkins build completes?
- GitHub pages only showing ReadMe file?
- Clone only the .git directory of a git repo
- git – remote add origin vs remote set-url origin
- git clone with HTTPS or SSH remote?
- when you have secret key in your project, how can pushing to GitHub be possible?