1 個回答
- 最新
- 最多得票
- 最多評論
1
When you delete a branch from the console, there is a message that says:
Deleting a branch from AWS CodeCommit cannot be undone from the console. However, users might continue to have a copy of this branch in their local repositories until the next time they pull changes.
Do you have a local copy ? if so you can find the SHA for the last commit of your deleted branch using:
git reflog
and restore the branch using git checkout -b <branch> <sha>
.
相關內容
- AWS 官方已更新 2 年前
I am facing the same issue.