1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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>
.
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata un anno fa
I am facing the same issue.