URL: https://github.com/freeipa/freeipa/pull/157
Author: mzidek-rh
 Title: #157: git: Add commit template
Action: opened

PR body:
"""
In order to use the commit template, run the
following command:
git config commit.template .git-commit-template
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/157/head:pr157
git checkout pr157
From a9a889b57b2df63629a3e3a3ddb5cca7d2ed1c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzi...@redhat.com>
Date: Wed, 12 Oct 2016 13:28:18 +0200
Subject: [PATCH] git: Add commit template

In order to use the commit template, run the
following command:
git config commit.template .git-commit-template
---
 .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 0000000..8648238
--- /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 --|
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to