Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EGit/GitHub/ContributorGuide"
(→Contributing Patches) |
|||
Line 13: | Line 13: | ||
We accept patches via our Gerrit instance: http://egit.eclipse.org/ | We accept patches via our Gerrit instance: http://egit.eclipse.org/ | ||
+ | |||
+ | Since git can have multiple remotes, you can define one to be used to refer to Gerrit to save typing. Inside of a checked out repository: | ||
+ | <pre>cd path/to/egit-github | ||
+ | git config remote.review.url ssh://username@egit.eclipse.org:29418/egit-github.git | ||
+ | git config remote.review.push HEAD:refs/for/master | ||
+ | </pre> | ||
+ | You can now submit review requests from either repository using: | ||
+ | <pre>git push review | ||
+ | </pre> | ||
To learn more about contributing patches to Gerrit, see the main [http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches EGit Contributor Guide]. | To learn more about contributing patches to Gerrit, see the main [http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches EGit Contributor Guide]. |
Revision as of 10:47, 20 April 2011
EGit also provides tools for integrating with GitHub and Mylyn tasks.
Obtaining Sources
- File > Import > Git > Git Repository
- Enter URI:
git://egit.eclipse.org/egit-github.git
- Import projects
- Download dependencies:
- automagically: open file
org.eclipse.mylyn.github-feature/github.target
gitweb and select 'Set as Target Platfrom'.
- automagically: open file
Contributing Patches
We accept patches via our Gerrit instance: http://egit.eclipse.org/
Since git can have multiple remotes, you can define one to be used to refer to Gerrit to save typing. Inside of a checked out repository:
cd path/to/egit-github git config remote.review.url ssh://username@egit.eclipse.org:29418/egit-github.git git config remote.review.push HEAD:refs/for/master
You can now submit review requests from either repository using:
git push review
To learn more about contributing patches to Gerrit, see the main EGit Contributor Guide.