Git
WTFIT
Useful commands
git commit
git commit --amend
Modify the last commit if it is not already pushed. If it was pushed then use: git push origin <branch>
.
git commit --amend --no-edit
Modify the last commit if it is not already pushed without update the commit message.
TODO
git reset HEAD~ --soft
Modify the last commit if it was pushed.
git diff
Allows you to see the summary of the changes made.