Skip to content

Instantly share code, notes, and snippets.

@KelseyDH
Forked from anonymous/-
Created November 9, 2015 22:15
Show Gist options
  • Save KelseyDH/f69c9819be100247e13d to your computer and use it in GitHub Desktop.
Save KelseyDH/f69c9819be100247e13d to your computer and use it in GitHub Desktop.
gicof() {
git co $( (git branch -r | sed 's/origin\///'; git branch) | sort | uniq | fzf --query="$1" --select-1 --exit-0 )
}
gimf() {
git merge $( (git branch -r | sed 's/origin\///'; git branch) | sort | uniq | fzf --query="$1" --select-1 --exit-0 )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment