Git alias for diff just one commit

This commit is contained in:
Martin Blazik
2022-04-21 14:14:42 +02:00
parent 68bc8167b2
commit 651a4296fc

5
bin/git-dif1 Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
commit=$1
shift
git diff ${commit}~1..${commit} "$@"