newdevs:git:signoff
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newdevs:git:signoff [2019/06/28 17:58] – tmccanna | newdevs:git:signoff [2023/12/06 13:30] (current) – git pull add gmonti | ||
---|---|---|---|
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.// | ||
After you have successfully tested a branch that someone else has created and see that it is working well, you will create a sign-off branch to acknowledge that you have tested it. | After you have successfully tested a branch that someone else has created and see that it is working well, you will create a sign-off branch to acknowledge that you have tested it. | ||
- Find the hash (unique ID) of the commit that you wish to sign off on. | - Find the hash (unique ID) of the commit that you wish to sign off on. | ||
- | | + | |
+ | - 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 code. | ||
- In Git Bash, navigate to the Evergreen directory. | - In Git Bash, navigate to the Evergreen directory. | ||
- Make sure that your local repository is up to date: | - Make sure that your local repository is up to date: | ||
- | - git checkout | + | - git checkout |
+ | - git fetch --all | ||
- git pull | - git pull | ||
- Create and check out a new sign-off branch with the current branch name and append ' | - Create and check out a new sign-off branch with the current branch name and append ' | ||
- git checkout -b lp123456_branch_name_signoff | - git checkout -b lp123456_branch_name_signoff | ||
+ | - Commit your signoff: | ||
+ | - A commit message should consist of a subject line (i.e., the first line of the commit message), then a blank line, then an optional description of the patch, followed by one or more signoffs. | ||
+ | LP#24544: fix the quuxifier | ||
+ | | ||
+ | Signed-off-by: | ||
- Pull in the branch that you wish to sign off on using the commit code you found above. | - Pull in the branch that you wish to sign off on using the commit code you found above. | ||
- git cherry-pick -s ea75f30d33 | - git cherry-pick -s ea75f30d33 |
newdevs/git/signoff.1561759102.txt.gz · Last modified: 2022/02/10 13:34 (external edit)