mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 08:39:56 -06:00
aliases - git root alias
This commit is contained in:
@@ -19,6 +19,7 @@ alias gmerge='git merge --ff-only'
|
|||||||
alias gpull='git pull --rebase'
|
alias gpull='git pull --rebase'
|
||||||
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 gr='cd $(git rev-parse --show-toplevel)'
|
||||||
alias master!='git checkout master'
|
alias master!='git checkout master'
|
||||||
alias main!='git checkout main'
|
alias main!='git checkout main'
|
||||||
alias merged?='git branch --merged'
|
alias merged?='git branch --merged'
|
||||||
|
|||||||
Reference in New Issue
Block a user