--- created: 2024-01-01 description: Handy git commands --- ### See changes since last commit ```bash git diff HEAD~0 ``` ### Commit parts of a file [filip-prochazka.com - Git: commit only parts of a file](https://filip-prochazka.com/blog/git-commit-only-parts-of-a-file)