Skip to content

Instantly share code, notes, and snippets.

@raymelon
Created November 13, 2018 03:39
Show Gist options
  • Select an option

  • Save raymelon/d4b788688a240e4b372b65978d5c43ad to your computer and use it in GitHub Desktop.

Select an option

Save raymelon/d4b788688a240e4b372b65978d5c43ad to your computer and use it in GitHub Desktop.
# if new repo, make sure to commit first to set the head
# rename default master branch to production
git branch -m production
# rename default origin remote to upstream
git remote rename origin upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment