Created
February 23, 2011 18:37
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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