1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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>
.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
I am facing the same issue.