Add git checkout default branch abbreviation
parent
1d26097ad2
commit
548c10349e
|
@ -25,6 +25,7 @@ end
|
||||||
abbr -a batdiff "git diff --name-only --diff-filter=d | xargs bat --diff"
|
abbr -a batdiff "git diff --name-only --diff-filter=d | xargs bat --diff"
|
||||||
abbr -a ggpush "git push origin (__git.current_branch)"
|
abbr -a ggpush "git push origin (__git.current_branch)"
|
||||||
abbr -a ggpull "git pull origin (__git.current_branch)"
|
abbr -a ggpull "git pull origin (__git.current_branch)"
|
||||||
|
abbr -a gcm "git checkout (__git.default_branch)"
|
||||||
|
|
||||||
source ~/.config/fish/platform_config/$MACHINE_TYPE.fish
|
source ~/.config/fish/platform_config/$MACHINE_TYPE.fish
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue