Difference between revisions of "Git style guide"
Jump to navigation
Jump to search
(Created page with "Various information about how we use Git to develop Software Heritage. == Commits == Make your commits adhere to this [http://chris.beams.io/posts/git-commit/ ''How to W...") |
|||
Line 17: | Line 17: | ||
If you just want to "ping" a task, updating it with the fact that a related commit has been pushed, use: | If you just want to "ping" a task, updating it with the fact that a related commit has been pushed, use: | ||
<pre> | <pre> | ||
− | + | Related to T123456 | |
</pre> | </pre> | ||
Revision as of 15:57, 11 March 2021
Various information about how we use Git to develop Software Heritage.
Commits
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