User Tools

Site Tools


newdevs:git:signoff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:git:signoff [2019/06/28 18:03] tmccannanewdevs: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 ======
  
Line 14: Line 15:
   - 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 master+    - git checkout main 
 +    - git fetch --all
     - git pull     - git pull
   - Create and check out a new sign-off branch with the current branch name and append 'signoff':   - Create and check out a new sign-off branch with the current branch name and append 'signoff':
     - 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.  The subject line should be brief, ideally no more than 60-70 characters, and should include a bug number from LaunchPad if relevant.  Here is an example of a minimum commit message:<code>
 +    LP#24544: fix the quuxifier
 +  
 +    Signed-off-by: Jane Hacker <jhacker@example.org></code>
   - 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.1561759385.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.