📌  相关文章
📜  git undo 删除的本地分支 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:35.340000             🧑  作者: Mango

代码示例2
Yes, you should be able to do git reflog --no-abbrev and find the SHA1 for 
the commit at the tip of your deleted branch, then just git checkout [sha].
And once you're at that commit, you can just git checkout -b [branchname] to
recreate the branch from there.