mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
git checkout default branch instead of master
This commit is contained in:
parent
b7a75da2d3
commit
672001829d
@ -35,7 +35,7 @@ function abbrs --description 'All abbreviations'
|
||||
abbr -a gl 'git log --graph --decorate --oneline -20'
|
||||
abbr -a gll 'git log --graph --decorate --oneline'
|
||||
abbr -a gco 'git checkout'
|
||||
abbr -a gcom 'git checkout master'
|
||||
abbr -a gcom 'git checkout (git symbolic-ref refs/remotes/origin/HEAD | cut -d"/" -f4)'
|
||||
abbr -a gcob 'git checkout -b'
|
||||
abbr -a gb 'git branch'
|
||||
abbr -a gbd 'git branch -d'
|
||||
|
Loading…
Reference in New Issue
Block a user