Created
April 20, 2024 15:10
-
-
Save SeanRoberts/22510b280718357d9574b05c530e128f to your computer and use it in GitHub Desktop.
git checkout via fzf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias co="git for-each-ref --sort=-committerdate refs/heads/ refs/remotes/ --format='%(refname:short)' | sed 's|^remotes/||' | fzf | xargs git checkout" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment