fish: Add the most commonly used git aliases
This commit is contained in:
parent
de0a69ee11
commit
f839a3bfff
4 changed files with 13 additions and 0 deletions
3
fish/.config/fish/functions/gd.fish
Normal file
3
fish/.config/fish/functions/gd.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function gd
|
||||
git diff
|
||||
end
|
4
fish/.config/fish/functions/gl.fish
Normal file
4
fish/.config/fish/functions/gl.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function gl
|
||||
git log --stat -n 100
|
||||
end
|
||||
|
3
fish/.config/fish/functions/glp.fish
Normal file
3
fish/.config/fish/functions/glp.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function glp
|
||||
git log -p --stat -n 100
|
||||
end
|
3
fish/.config/fish/functions/gs.fish
Normal file
3
fish/.config/fish/functions/gs.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function gs
|
||||
git status --verbose
|
||||
end
|
Loading…
Reference in a new issue