Created
September 30, 2016 18:49
-
-
Save Saissaken/99a8a712dc70852cc776fed9724344c6 to your computer and use it in GitHub Desktop.
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
# Fork a repo, then create a remote 'upstream' to fetch from the original repo. | |
git clone https://github.com/userName/Repo New_Repo | |
cd New_Repo | |
git remote set-url origin https://github.com/userName/New_Repo | |
git remote add upstream https://github.com/userName/Repo | |
git push origin master | |
git push --all | |
# optional, remove push url | |
git config remote.upstream.pushurl "NEVER GONNA GIVE YOU UP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment