Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* normalize copyright year to 2022 * typo fixed * outdated description removed * normalize copyright year to 2022 * normalize unsorted list use to AsciiDoc default * FAQ formatting issues fixed * typo fixed * MP Telemetry description updated * fix missing plugin version * replace http by https when not license or XML header * normalize inception year to 2016
- Loading branch information
1 parent
4edb7df
commit 9fec2d3
Showing
15 changed files
with
230 additions
and
234 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,43 @@ | ||
= Workflow to make your first Pull Request | ||
|
||
Assuming that you already have an Eclipse User account and signed the Eclipse Contribution Agreement, the following is how you can create PR's for MicroProfile related project: | ||
|
||
- If it's the first time you are going to work on a repository: Fork into your github account. | ||
- Download (you can use the Github UI option `Open With Github Desktop`) your new fork into your computer. | ||
- In your local repository, create a branch for the contribution, example: | ||
* If it's the first time you are going to work on a repository: Fork into your github account. | ||
* Download (you can use the Github UI option `Open With Github Desktop`) your new fork into your computer. | ||
* In your local repository, create a branch for the contribution, example: | ||
git checkout -b microProfilePatch | ||
git checkout -b microProfilePatch | ||
* Set your upstream to your origin: | ||
- Set your upstream to your origin: | ||
git push --set-upstream origin microProfilePatch | ||
git push --set-upstream origin microProfilePatch | ||
* Add, edit or perform the changes required in your contribution. | ||
* Stage your new files: | ||
- Add, edit or perform the changes required in your contribution. | ||
git add . | ||
- Stage your new files: | ||
* Assuming your GitHub username is: `CONTRIBUTOR` and the email address used for your Eclipse account is: `CONTRIBUTOR@mail.com`, the following is the line you can use to commit and sign your contribution. Before you do so, verify that you have configured Git with the correct email using `git config --get user.email` | ||
git add . | ||
- Assuming your GitHub username is: `CONTRIBUTOR` and the email address used for your Eclipse account is: `CONTRIBUTOR@mail.com`, the following is the line you can use to commit and sign your contribution. Before you do so, verify that you have configured Git with the correct email using `git config --get user.email` | ||
git commit -m "Added my contribution" -s | ||
git commit -m "Added my contribution" -s | ||
[NOTE] | ||
==== | ||
If your Eclipse account was configure using a different email address than the one you normally use in your local git `user.email` configuration, you have a couple of options to modify your `email` in your contribution: | ||
1. You can configure the specific email address in your `.git/config` for a specific repository. From within the repository execute: | ||
git config user.email "NEWEMAIL@mail.com" | ||
git config user.email "NEWEMAIL@mail.com" | ||
2. Or, Amend the commit with the specific email address: | ||
git commit --amend --author="CONTRIBUTOR <NEWEMAIL@mail.com>" | ||
git commit --amend --author="CONTRIBUTOR <NEWEMAIL@mail.com>" | ||
==== | ||
|
||
- Push your changes to your remote repository | ||
git push | ||
* Push your changes to your remote repository | ||
- Navigating to Github web UI, create the Pull request. | ||
git push | ||
* Navigating to Github web UI, create the Pull request. | ||
We know you may be already familiar with the Git and Github PR process and there are many ways to accomplish what we described above, but this question is a recurring one so we like to provide visibility to others and, also learn something new with the feedback we got when posting this kind of micro recipes 👍 |
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
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
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
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
Oops, something went wrong.