newdevs:git:signoff
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| newdevs:git:signoff [2019/06/28 17:09] – created tmccanna | newdevs:git:signoff [2024/07/29 09:38] (current) – Remove Step 5 - commit your signoff dyrcona | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | **New Developers Working Group** | ||
| ====== Git for Windows ====== | ====== Git for Windows ====== | ||
| ===== How to Sign Off on a Branch ===== | ===== How to Sign Off on a Branch ===== | ||
| + | //These instructions are the same regardless of whether you have tested this on your own test server or on a remote test server that has been set up for bug squashing.// | ||
| - | //** NEED BETTER INSTRUCTIONS HERE - I still don't quite understand how to create | + | After you have successfully tested |
| - | <code bash> | + | - Find the hash (unique ID) of the commit that you wish to sign off on. |
| - | git push working | + | - Go to: [[https:// |
| - | </code> | + | - Find the bug related to the patch you tested. |
| + | - Follow the link to where the patch resides on the Git server. | ||
| + | - When you are looking at the details of the commit, copy the first 7+ characters from the commit | ||
| + | - In Git Bash, navigate to the Evergreen directory. | ||
| + | - Make sure that your local repository is up to date: | ||
| + | - git checkout main | ||
| + | - git fetch --all | ||
| + | - git pull | ||
| + | - Create and check out a new sign-off branch with the current branch name and append ' | ||
| + | - git checkout -b lp123456_branch_name_signoff (will default to base branch off main) | ||
| + | - git checkout -b lp123456_branch_name_signoff origin/ | ||
| + | - Pull in the branch that you wish to sign off on using the commit code you found above. | ||
| + | - git cherry-pick -s ea75f30d33 | ||
| + | - Push (upload) your new sign-off branch to your working directory: | ||
| + | - git push working | ||
| + | | ||
| + | | ||
| + | - Click on working/Evergreen.git | ||
| + | - Scroll down to the Heads section. | ||
| + | - Click on the link to your sign-off branch. | ||
| + | - Copy the URL | ||
| + | - Update the launchpad bug: | ||
| + | - Go to: [[https:// | ||
| + | - Find the bug related to the patch you tested. | ||
| + | - Add a comment that you've tested the bug and the URL of your sign-off commit. | ||
| + | - Add a ' | ||
| - | |||
| - | |||
| - | ==== 5. Update Launchpad ==== | ||
| - | |||
| - | - In the relevant launchpad but, add the " | ||
| - | - Also, add a link in the comments to your sign-off branch. | ||
newdevs/git/signoff.1561756170.txt.gz · Last modified: 2022/02/10 13:34 (external edit)