Add gitrecap command
This commit is contained in:
@ -39,6 +39,7 @@ abbr --add gr git reset
|
||||
abbr --add gst git status
|
||||
abbr --add gsta git stash push
|
||||
abbr --add gstp git stash pop
|
||||
abbr --add grc gitrecap # custom recap command
|
||||
|
||||
fish_vi_key_bindings
|
||||
|
||||
|
||||
5
tree/.local/bin/gitrecap
Executable file
5
tree/.local/bin/gitrecap
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
set MY_LATEST_COMMIT (git log --author "joakim@hulthe.net" --pretty=format:%H | head -n 1)
|
||||
|
||||
git diff $MY_LATEST_COMMIT
|
||||
Reference in New Issue
Block a user