kieranpotts / dotfiles

A baseline, extensible UNIX user configuration.
MIT License
1 stars 0 forks source link

Show diff for last Git commit #35

Closed kieranpotts closed 1 year ago

kieranpotts commented 1 year ago

The changed alias could be modified to run the following command, if no parameter is provided to specify a particular commit to show the diff for:

git diff --cached HEAD^0