Last active
October 19, 2018 22:16
-
-
Save udhos/bee26e2f8a13b02a46c3b3fffaf53036 to your computer and use it in GitHub Desktop.
github-and-go-forking-pull-requests-and.html
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
Question: how do you handle pull requests from different GitHub repositories? | |
Source: github-and-go-forking-pull-requests-and.html | |
1. Fork the repository github.com/orig/cooltool to github.com/fork/cooltool | |
2. Get the original repository: go get github.com/orig/cooltool | |
3. Add a remote to your forked repository: git remote add fork https://github.com/fork/cooltool.git | |
4. Edit and commit on the local repository: github.com/orig/cooltool | |
5. Whenever you have a commit to push, send them to your remote: git push fork | |
Then your forked repository will always remain ready to merge toward the upstream. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment