Last active
August 29, 2015 14:08
-
-
Save ratbeard/e9a8cad00f0f27add4f1 to your computer and use it in GitHub Desktop.
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
# Fetch latest and prints the branch name with the most recent commit¬ | |
br = "!git fetch && git for-each-ref --count=1 --sort=-committerdate refs/remotes/ --format='%(refname:short)' | sed -e \"s/^.*\\// | |
¬ | |
# Switch to branch with most recent commit¬ | |
cor = "!git checkout `git br`"¬ | |
¬ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
⛅