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 官方已更新 8 个月前
- AWS 官方已更新 2 年前
I am facing the same issue.