This is just an idea, but if people like it and agree with the format it
would be nice to have it in tree.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From c4d6cf9eb2efa1bf0330639310ee4017bc672fa0 Mon Sep 17 00:00:00 2001
From: Simo Sorce <s...@redhat.com>
Date: Mon, 5 Aug 2013 13:59:33 -0400
Subject: [PATCH] Add a commit template

Explanation:
In order to use a common style when creating commits a commit template will be
helpful espcially to new developers.

The commit template can be activated with the following command:
git config commit.template .git-commit-template

When this is done any new commit will use the template as the default commit
message.
---
 .git-commit-template | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 .git-commit-template

diff --git a/.git-commit-template b/.git-commit-template
new file mode 100644
index 0000000000000000000000000000000000000000..8648238af6a6cc2a248b0383600a5bdfb3917c07
--- /dev/null
+++ b/.git-commit-template
@@ -0,0 +1,9 @@
+COMPONENT: Subject
+
+Explanation
+
+Resolves:
+https://fedorahosted.org/sssd/ticket/XXXX
+
+# Try to keep the subject line within 52 chars ----|
+# Also please try to not exceed 72 characters of length for the body --|
-- 
1.8.3.1

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to