Answers for "github git revert to old commit"

0

github git revert to old commit

// The '.' is needed to attached HEAD!
$ git checkout <commit_id> .
$ git add .
$ git commit -m "go back to <commit-id>"
$ git push
// checkout source for full details!
Posted by: Guest on March-19-2022

Browse Popular Code Answers by Language