Skip to content

Instantly share code, notes, and snippets.

@nvalentine-puppetlabs
Created March 11, 2014 13:48
Show Gist options
  • Save nvalentine-puppetlabs/9485977 to your computer and use it in GitHub Desktop.
Save nvalentine-puppetlabs/9485977 to your computer and use it in GitHub Desktop.
rename master branch to production *before* any pushes
mkdir foo
git init
git checkout -b production
touch README
git add -A
git commit -m 'initial commit'
git branch --delete master
git push --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment