Git style guide

From Software Heritage Wiki
Revision as of 15:57, 11 March 2021 by Ardumont (talk | contribs) (Link commits to tasks)
Jump to: navigation, search

Various information about how we use Git to develop Software Heritage.


Make your commits adhere to this How to Write a Git Commit Message tutorial.

Link commits to tasks

You can reference Phabricator tasks from your commits, using a dedicated syntax. When you do so, please put the task action on a separate line, so that it is clearly visible.

Make sure commits that are enough to close a bug do so using a line like:

Closes T123456

If you just want to "ping" a task, updating it with the fact that a related commit has been pushed, use:

Related to T123456