Skip to content

Instantly share code, notes, and snippets.

@Kardelio
Created September 12, 2019 08:46
Show Gist options
  • Save Kardelio/c6a01e1e927a75ef7f3af44ef79e7e35 to your computer and use it in GitHub Desktop.
Save Kardelio/c6a01e1e927a75ef7f3af44ef79e7e35 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 {}
@Kardelio
Copy link
Author

Associated YouTube video for anyone interested in learning more about the 'fzf' bit...

https://youtu.be/Bww2iaMTZRI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment