Done at https://git.open-mpi.org/trac/hwloc/wiki/CommitMessages I also updated some references to SVN in other wiki pages. Brice
Le 28/09/2013 14:19, Jeff Squyres (jsquyres) a écrit : > This sounds good. Can you add this to the trac wiki? > > (e.g., MPICH did something like this when they converted to git) > > > On Sep 28, 2013, at 8:15 AM, Brice Goglin <brice.gog...@inria.fr> wrote: > >> Let's discuss some rules for commit messages. I used svn propedit often >> in the past, that's not possible anymore once pushed to the main git repo. >> >> 1) Obviously we should follow the commit log convention: >> >> one short line description (less than 80 chars) >> <blank line> >> full description >> >> >> 2) When backporting patches between public branches, use git cherry-pick >> *-x* so that the old commit ID is recorded is the new commit log. If >> you're working in your private branches, this may not be needed (if the >> old commit ID may change before you actually push it). >> >> 3) Configure your username and email properly before commtting. >> >> git config user.email <foo@bar> >> git config user.name "First Last" >> >> This goes into .git/config. Add --global to make these global for all >> your git repos (goes into ~/.gitconfig) >> >> What else? >> >> Brice >> >> _______________________________________________ >> hwloc-devel mailing list >> hwloc-de...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel >