git Flashcards
1
Q
To remove a commit done locally
A
git reset –soft HEAD^
2
Q
To remove a commit you have already pushed
A
git revert
Programming > git > Flashcards
To remove a commit done locally
git reset –soft HEAD^
To remove a commit you have already pushed
git revert