From 19e0de9049539cdfd2dc2ba78c45ef96f0facbbc Mon Sep 17 00:00:00 2001
From: Travis Cross <tc@traviscross.com>
Date: Fri, 12 Sep 2014 17:42:05 +0000
Subject: [PATCH] Document how to setup git correctly

---
 docs/SubmittingPatches | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/SubmittingPatches b/docs/SubmittingPatches
index 16be7a2479..a7d2347aeb 100644
--- a/docs/SubmittingPatches
+++ b/docs/SubmittingPatches
@@ -7,6 +7,13 @@ Download the Source Code
     git clone https://stash.freeswitch.org/scm/fs/freeswitch.git
     cd freeswitch
 
+Ensure Git is Setup
+-------------------
+
+    # tell git your full name and email address; make sure to use your
+    # real name and not a username
+    ./scripts/setup-git.sh
+
 Create Your Patch
 -----------------
 
@@ -24,6 +31,9 @@ Create Your Patch
     # logically separate change
     #while true; do emacs .; git commit -va; done
 
+    # review changes; ensure your author name is correct
+    git log -p
+
     # create patch files
     git format-patch origin/master..HEAD