Answers for "how to move back to previous commit after git reset"

CSS
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 move back to previous commit after git reset"

Browse Popular Code Answers by Language