Skip to content

Instantly share code, notes, and snippets.

@eyalgo
Last active September 6, 2019 15:47
Show Gist options
  • Save eyalgo/cd1ead998a32ea326d2dd2dc1abf48f3 to your computer and use it in GitHub Desktop.
Save eyalgo/cd1ead998a32ea326d2dd2dc1abf48f3 to your computer and use it in GitHub Desktop.
# Add to %PATH%
# Can run: git nb MY_BRANCH_NAME
#!/bin/sh
git checkout master
git pull
git checkout -b $1
git push -u origin $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment