Revert commits

revert to last commit:

git reset --soft HEAD~1

revert to commit X and don’t forget the final ‘ .’

git checkout <commit-id> .

Add this version to the staging area and push to remote

git add .
git commit -m "Reverting to <commit-id>"
git push

Revision #1
Created 3 August 2022 04:14:21 by tinfoil-hat
Updated 3 August 2022 04:16:48 by tinfoil-hat