Page History

Turn Off History

Checklist of things to do before running "git push"

  1. View and examine the commits to push:
     git log origin/<branch>..<branch> 
    1. Check to see if you should combine multiple commits
      • You should definitely combine if:
        • Any of the commits "checkpoints"
        • Any of the commits "fix previous commit"
      • You should consider combining if:
        • Any of the commits is a partial implementation
        • Two or more of the commits could be considered to be a logical group
      • See Squashing git commits for details on how to do this

    2. Verify that any commits that are related to a GitTrac ticket have the ticket number in the commit comment. Examples:
      • Fix bug that caused the foo daemon to crash when bar happens [#123]
      • Implemented #234 to allow the user to do something really cool
      • Fixed bug (#345) that caused bad things to happen