Check List for Committing in the Repository

Content Checks

  1. Add copyright in NOTICE file if not already there.
  2. Check indentation. Remove tabs and trailing spaces.
  3. Check .gitignore file.

Command-Line Options

  1. Set author name and email as follows:
    GIT_AUTHOR_NAME="First Last" GIT_AUTHOR_EMAIL="email@address"
    
  2. Set author date to patch submission date, as follows:
    GIT_AUTHOR_DATE="yyyy-mm-dd hh:mm:ss -0X00"
    

Log Message

  1. Log message must start with a verb.
  2. Start verb must be in present tense (not past tense).
  3. Log message must refer to related ticket, when applicable. Must be written as:
    Some message log. See ticket:xxx.
    
  4. Log message must hold on a single line, and be at most 72 chars long (including the ticket reference).
  5. Every patch mush be signed-off by its author and all subsequent committers.