简体   繁体   English

如何恢复已删除的Git分支

[英]How to restore deleted Git branches

How to restore deleted branches. 如何恢复已删除的分支。

I've made "git push --prune" and seems that nearly all branches were deleted remotly. 我做了“git push --prune”,似乎几乎所有的分支都被删除了。 Please help me!! 请帮我!!

You can use git reflog. 你可以使用git reflog。 reflog helps you in these scenarios. reflog可以帮助您完成这些场景。 See The link below for further information: 有关详细信息,请参阅以下链接:

http://blag.ahax.de/post/421939327/recovering-a-deleted-branch-using-git-reflog http://blag.ahax.de/post/421939327/recovering-a-deleted-branch-using-git-reflog

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM