From 565cc43f272de7fe9b034763e97f48e4b1c14782 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 14 Jun 2011 21:58:59 -0700 Subject: [PATCH] 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 --- src/docs/userguide/arcanist.diviner | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/docs/userguide/arcanist.diviner b/src/docs/userguide/arcanist.diviner index 38174c3c26..8203959fe5 100644 --- a/src/docs/userguide/arcanist.diviner +++ b/src/docs/userguide/arcanist.diviner @@ -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 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: