mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Improve documentation about configuring the git commit template
Summary: Make it slightly more clear how to go about this. Test Plan: Generated and reviewed the documentation. Reviewed By: moskov Reviewers: moskov, aran, jungejason, tuomaspelkonen CC: aran, moskov Differential Revision: 467
This commit is contained in:
parent
4e75080b66
commit
565cc43f27
1 changed files with 9 additions and 1 deletions
|
@ -96,7 +96,15 @@ been accepted, you can commit it like this:
|
||||||
There are a lot of ways to use git, and Arcanist is flexible enough to handle
|
There are a lot of ways to use git, and Arcanist is flexible enough to handle
|
||||||
several of them. Use a commit template similar to this one:
|
several of them. Use a commit template similar to this one:
|
||||||
|
|
||||||
resources/git/commit-template.txt
|
arcanist/resources/git/commit-template.txt
|
||||||
|
|
||||||
|
The easiest way to set up the template is to check it into your repository
|
||||||
|
somewhere and then add this to your ##.git/config## file:
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
template = path/to/template.txt
|
||||||
|
|
||||||
|
You can also configure it globally, consult the git documentation for details.
|
||||||
|
|
||||||
To **create a revision** in git:
|
To **create a revision** in git:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue