mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-11-22 15:08:25 -06:00
add alias to jump to main branch
This commit is contained in:
1 parent
fbf966fbcc
commit
ac750027c7
1 file changed
+1
@@ -19,6 +19,7 @@ alias gpull='git pull --ff-only'
|
|||||||
alias gpush='git push'
|
alias gpush='git push'
|
||||||
alias gpush!='git push -u origin `git rev-parse --abbrev-ref HEAD`'
|
alias gpush!='git push -u origin `git rev-parse --abbrev-ref HEAD`'
|
||||||
alias master!='git checkout master'
|
alias master!='git checkout master'
|
||||||
|
alias main!='git checkout main'
|
||||||
alias merged?='git branch --merged'
|
alias merged?='git branch --merged'
|
||||||
|
|
||||||
__git_complete ga _git_add
|
__git_complete ga _git_add
|
||||||
|
|||||||
Reference in new issue
Block a user