Created
December 13, 2016 15:53
-
-
Save hartfordfive/8a156c10fd0c1a74e6be82d8c3fa99fa to your computer and use it in GitHub Desktop.
Contributing to other Go projects
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
| # Easy way to work in go projects to submit PRs to other projects from your fork | |
| # Switch to the project directory in the Go path | |
| $GOPATH/src/github.com/elastic/beats/metricbeat` | |
| # If there isn't already an origin for your fork, then add it | |
| git remote add hartfortdrive [email protected]:hartfordfive/beats.git | |
| # Once changes are made and you're ready to push to the branch on your origin | |
| git push --set-upstream hartfortdrive <branchname>` | |
| # Finally, to update the official master branch of the project | |
| git pull origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment