Created
April 19, 2017 08:15
-
-
Save anton-107/94960a6624cc77f1a9a6f753a30e6f2c to your computer and use it in GitHub Desktop.
small command tool to create a git branch with a random name
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
#!/bin/bash | |
randomword=`rl -c 1 /usr/share/dict/words` | |
branchname=anton_${randomword} | |
git checkout -b ${branchname} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment