Created
November 22, 2018 15:57
-
-
Save erplsf/9080fbba94f0a8dcfe76b9364520eb96 to your computer and use it in GitHub Desktop.
checkout with date
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
function _git_special_checkout() { | |
git checkout -b "$(date +%Y%m%d)_$1" | |
} | |
alias gcb='_git_special_checkout' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment