Skip to content

Instantly share code, notes, and snippets.

@rallygroup
Created September 17, 2010 22:59
Show Gist options
  • Save rallygroup/585116 to your computer and use it in GitHub Desktop.
Save rallygroup/585116 to your computer and use it in GitHub Desktop.
Git config script for setting defaults
git config --global user.name "Your Name"
git config --global user.email your@email.com
cd your_project_dir
git init
git remote add origin git@github.com:switchyard/ocp-litprep.git
git config branch.master.remote origin
git config branch.master.merge refs/heads/master
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment