Github
Github
git reset --soft Undo last commit, put %ad author date
HEAD^ changes into staging %an author name
git commit --amend Change the last %h SHA hash
-m "New Message" commit
%s subject
git reset --hard Undo last commit and
%d ref names
HEAD^ all changes
Ex: git log --pretty=format:"%h %ad- [%an] %s"
git reset --hard Undo last 2 commits
HEAD^^ and all changes
Pushing Faster