我不小心删除了一个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