Answers for "undo reset commit git"

0

undo reset commit git

git reflog //to get commitID
git reset #commitID
Posted by: Guest on December-02-2020
1

how to revert a git revert

git revert <commitHashOfTheRevert> # locate the hash the revert was done 
                             #this will invert the changes made in that commit
                             #and preserve the git history
Posted by: Guest on October-10-2020
-1

how to undo commit

git reset <commitId>
# Exemple
git reset 5310517
Posted by: Guest on October-21-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language