我错误地删除了我的一个 git 分支。有什么办法可以恢复吗?
我使用了以下命令:
$ git push :development
我想恢复这个分支。我在主分支上,它没有显示任何删除命令正在运行:
$ git reflog
1b716a1 HEAD@{0}: checkout: moving from master to origin
1b716a1 HEAD@{1}: reset: moving to origin
91791dc HEAD@{2}: reset: moving to 91791dc
1b716a1 HEAD@{3}: checkout: moving from master to master
1b716a1 HEAD@{4}: pull: Merge made by the 'recursive' strategy.
91791dc HEAD@{5}: commit: Fix Total Label crash
198de6f HEAD@{6}: commit: Fix the Total Label crash