Git alias for diff just one commit
This commit is contained in:
5
bin/git-dif1
Executable file
5
bin/git-dif1
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
commit=$1
|
||||
shift
|
||||
git diff ${commit}~1..${commit} "$@"
|
||||
Reference in New Issue
Block a user