Answers for "git revert to an earlier commit"

0

git command change to previous comit

git checkout <commit_id>
git checkout -b <new branch> <commit_id>
git checkout HEAD~X // x is the number of commits t go back
Posted by: Guest on December-08-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language