Skip to content

Instantly share code, notes, and snippets.

@vrillusions
Created February 23, 2011 18:37
Show Gist options
  • Save vrillusions/840904 to your computer and use it in GitHub Desktop.
Save vrillusions/840904 to your computer and use it in GitHub Desktop.
Additional git configuration that needs to be done after the initial setup on github
#!/bin/bash
#
# The "getting started" when creating a new project doesn't cover how to setup git so
# you can do operations like `git push` without having to specify the branch each time.
# This fixes that.
#
git config branch.master.remote origin
git config branch.master.merge 'refs/heads/master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment