--- web/www/git.xhtml 2012/01/12 16:14:40 1.1 +++ web/www/git.xhtml 2013/08/04 14:47:10 1.5 @@ -20,7 +20,8 @@

All code available in the Git repositories is - licensed under the GPL. + licensed under the GPL + unless otherwise stated.

Web Access @@ -74,6 +75,57 @@ git clone ssh://git@git.i-scream.org/libstatgrab

http://github.com/i-scream

+

+ Git guidelines +

+

+ We've chosen a set of guidelines to work by so that + everybody is clear about how the Git repositories will be + used. This should make life easier for developers and + users. The aim is to keep things clear and simple without + adding unnecessary overheads. We don't have need for + anything as complex as git-flow. +

+
    +
  1. + The master branch will always be buildable + and should be usable. Development work does not happen + here directly. +
  2. +
  3. + New releases will be taken from the master + branch and will be tagged there. +
  4. +
  5. + The master branch will never have its history rewritten. +
  6. +
  7. + Development work will be done on branches. These + branches may only live for the period of the development + work. Once the work is complete and tested it will be + merged to master and the branch may be deleted. +
  8. +
  9. + The history on development branches may be rewritten to + tidy things up before merging. This probably won't + happen often, but don't get upset if it does. +
  10. +
  11. + If you want to submit changes it's best to do them + against the master branch unless you're + specifically working with a developer on an issue + already. +
  12. +
  13. + Gratuitous merge commits should be avoided, particularly + when merging development branches to master. + They don't offer much in the way of useful information + and make operations like bisect harder. In particular, + if you pull changes to your local repository and end up + with a merge commit you should use rebase to get rid of + it before pushing. +
  14. +