Last active
July 8, 2019 19:46
-
-
Save pinkhominid/7df9450d80247da391a4acd326c8fb1f to your computer and use it in GitHub Desktop.
Quick Git branch checkout when you don't know the complete name
This file contains hidden or 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
# where xyz is a branch name fragment, e.g. 525 (using a ticket number) | |
git checkout `git branch | grep xyz` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment