Answers for "how to go back to previous commit in git and delete other branches"

0

how to move to previous commit in git

git checkout <commit-id> .
git add .
git commit -m "Reverting to <commit-id>"
git push
Posted by: Guest on June-08-2021

Code answers related to "how to go back to previous commit in git and delete other branches"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language