Correção de descrição de commit
git commit -m "<tipo>: <descrição>" --amend
Â
Agrupando, modificando ou desfazendo um commit
git rebase -i HEAD~3 # Rebase dos últimos 3 commits realizados
Â
Reset and stash
git reset --soft HEAD~1
git restore --staged .
git stash
git checkout development
git branch -D 'old-name'
git checkout -b 'old-name'
git stash pop
Â