Created
June 20, 2014 07:47
-
-
Save hail2u/3736a2cf5fdd0d0ca901 to your computer and use it in GitHub Desktop.
Back to master, create wip branch, commit empty, push and then open GitHub repostiory page.
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/sh | |
# Dependencies | |
# gh-open: https://github.com/typester/gh-open | |
BRANCH=$1 | |
git checkout master && | |
git checkout -b $BRANCH && | |
git commit --allow-empty -m "WIP $BRANCH" && | |
git push origin $BRANCH && | |
gh-open . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment