![]() ![]() How can I then get different-repo to push remotely to different-repo because currently it is pushing to react. Note: you can list all your remotes by doing git remote -v. You could type the url yourself each time, it'd do the same! This copy is called a fork, and the original repository is called the upstream repository. When you fork a repository on GitHub, you create a copy of it in your own account. This works around the ancient Git's failure to update upstream/stable. Run git fetch upstream stable, but then run git merge FETCHHEAD instead of git merge upstream/stable. 'Origin' typically refers to your own fork of a repository. (This works even if upstream is set up as a single-branch remote, and is needed even in modern Git if upstream is set up as a single-branch remote.) Then proceed as before. Origin is replaced with it's value: the url In the context of GitHub, 'origin' and 'upstream' refer to two different repositories.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |