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:
parent
d715d2ee94
commit
bf827f100e
1 changed files with 2 additions and 0 deletions
2
aliases
2
aliases
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue