Created
July 2, 2018 12:32
-
-
Save simbo1905/4cdc6a4cfe4d140e36222485c17c19a0 to your computer and use it in GitHub Desktop.
create a project on one git server with an upstream elsewhere
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
# If there is a repo in, say Heroku, or say BitBucket, and you want to push to it code from GitHub | |
git remote add upstream git@github.com:hyperledger/indy-sdk.git | |
# pull everything from upstream clobbering anything local (assumes you start with an empty repo) | |
git pull -s recursive -X theirs upstream master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment