diff options
Diffstat (limited to 'Cheat sheets/Git.md')
| -rw-r--r-- | Cheat sheets/Git.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Cheat sheets/Git.md b/Cheat sheets/Git.md new file mode 100644 index 0000000..5297eda --- /dev/null +++ b/Cheat sheets/Git.md @@ -0,0 +1,12 @@ +--- +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) |
