Answers for "how tomove to previous commit in git"

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

Browse Popular Code Answers by Language