mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-11-22 14:48:25 -06:00
aliases - git root alias
This commit is contained in:
1 parent
cf9ef0b5e0
commit
ea8112cf35
1 file changed
+1
@@ -19,6 +19,7 @@ alias gmerge='git merge --ff-only'
|
||||
alias gpull='git pull --rebase'
|
||||
alias gpush='git push'
|
||||
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 main!='git checkout main'
|
||||
alias merged?='git branch --merged'
|
||||
|
||||
Reference in new issue
Block a user