Skip to content

Commit

Permalink
Don't show remote branches
Browse files Browse the repository at this point in the history
There are too many of them and they dupe my local branches.
  • Loading branch information
gabebw committed Aug 14, 2017
1 parent 596f16e commit 8991a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zshrc
Expand Up @@ -521,7 +521,7 @@ alias gai="git add --interactive"
alias gcp="git rev-parse HEAD | xargs echo -n | pbcopy"
gc(){
if [[ $# == 0 ]]; then
local branch=$(git branch -a |\
local branch=$(git branch |\
grep -v HEAD |\
sed -E 's/^\*?[ \t]*//' |\
fzf --reverse --ansi --tac |\
Expand Down

0 comments on commit 8991a46

Please sign in to comment.