summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2017-09-05 21:10:36 -0700
committerelijah <elijah@riseup.net>2017-09-05 21:10:36 -0700
commit6757651f24375124149465fd14cd7d674895c27b (patch)
treeb0cc5f928fe9e3c92051862f70f2a909b8820366
parent6482a4ccb3d72773cc6d00d5fa7933fa83c4cafe (diff)
Docs: fix instructions for signing git commits
-rw-r--r--CONTRIBUTING.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6ae7f6ca..1eb6d3fd 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -4,10 +4,18 @@
To install our commit template, use following command (use --global to use it in your global .gitconfig):
- git config [--global] commit.template "~/path_to_leap_platform/contrib/leap-commit-template"
+ git config commit.template "~/path_to_leap_platform/contrib/leap-commit-template"
+
+To use for all projects:
+
+ git config --global commit.template "~/path_to_leap_platform/contrib/leap-commit-template"
## Signing commits
We very much appreciate signed commits, you can stop forgetting it like this:
- git config [--global] commit.gpgSign
+ git config commit.gpgsign true
+
+To enable for all projects:
+
+ git config --global commit.gpgsign true