Created
July 14, 2009 16:31
-
-
Save ericboehs/147046 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Migrating from your Unfuddle git repo to GitHub | |
cd YOUR_GIT_REPO | |
git remote rm unfuddle | |
git remote add origin [email protected]:opubco/YOUR_REPO_NAME.git | |
git push origin master | |
# If you don't like typing git push origin master, set it up in your .git/config | |
echo '[remote "origin"] | |
url = [email protected]:opubco/YOUR_REPO_NAME.git | |
fetch = +refs/heads/master:refs/remotes/origin/master | |
' >> .git/config | |
# or better yet, track it when you do the git remote add | |
git remote add -t master origin [email protected]:opubco/YOUR_REPO_NAME.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment