Added some new git aliases

Don't really use the staged one too much yet, but I use the heck out of the
fetch origin master:master as it allows me to then rebase my current working
branch without having to switch from it and back to it.
This commit is contained in:
Josh Sherman 2020-01-19 17:59:16 -06:00
parent d715d2ee94
commit bf827f100e
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -42,7 +42,9 @@ alias gcm='git checkout master'
alias gco='git checkout'
alias fgco='git checkout $(git branch | sed "s/\*//" | fzf)'
alias gd='git diff'
alias gds='git diff --staged'
alias gf='git fetch'
alias gfm='git fetch origin master:master'
alias gl='git pull origin $(git_branch)'
alias glg='git log'
alias gm='git merge'