Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maxdevjs/4856e68ff010f129b149eec955a6f730 to your computer and use it in GitHub Desktop.
Save maxdevjs/4856e68ff010f129b149eec955a6f730 to your computer and use it in GitHub Desktop.
Interactive Git Branch changer using fzf
git branch | fzf | sed 's/\* //g' | xargs -I '{}' git checkout {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment