Add git checkout default branch abbreviation

main
Ensar Sarajčić 2024-11-05 08:08:27 +01:00
parent 1d26097ad2
commit 548c10349e
1 changed files with 1 additions and 0 deletions

View File

@ -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