Created
April 21, 2012 11:24
-
-
Save gerjantd/2436686 to your computer and use it in GitHub Desktop.
Github: fork your own repo
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
http://bitdrift.com/post/4534738938/fork-your-own-project-on-github | |
1. Create a new repo named bar at github.com | |
2. git clone https://[email protected]/gerjantd/foo.git bar | |
3. cd bar | |
4. vi .git/config | |
replace foo with bar | |
url = https://[email protected]:gerjantd/foo.git -> url = https://[email protected]:gerjantd/bar.git | |
5. git push -u origin master | |
6. (Optional) git remote add upstream https://[email protected]/gerjantd/foo.git | |
7. (Optional) git fetch upstream | |
8. (Optional) git merge upstream/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment