For switching to the current branch

This commit is contained in:
Josh Sherman 2019-08-19 13:32:51 -05:00
parent 756a211534
commit f5f86468e6
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -39,7 +39,7 @@ alias gcam='git commit -a --amend'
alias gcb='git checkout -b'
alias gcl='git clone'
alias gcm='git checkout master'
alias gco='git checkout $(git branch | fzf)' # Thanks, Brewer!
alias gco='git checkout $(git branch | sed "s/\*//" | fzf)' # Thanks, @collinbrewer!
alias gd='git diff'
alias gf='git fetch'
alias gl='git pull origin $(git_branch)'