Created
November 3, 2016 03:29
-
-
Save jdvp/8eb7ed2fa4b6fee11c841a3bee9da8a0 to your computer and use it in GitHub Desktop.
Clone -> Fork
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
1. Fork the repo that you cloned (on github) | |
we will refer to the url this is stored at later as {url} | |
i.e. {url} = https://github.com/{user}/{project} | |
2. Rename local origin | |
git remote rename origin upstream | |
3. Add your fork as the new origin | |
git remote add origin {url} | |
4. Fetch and then push | |
git fetch origin | |
git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment