summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKyle Schneider <kinnder@gmail.com>2013-07-05 12:01:55 -0400
committerLuis Pabon <lpabon@redhat.com>2013-07-05 11:31:32 -0700
commit04c8e495f9197506522e353b2d27f343f450f935 (patch)
treedeab3bb3069d6da8c07589fd939b243a0229fdc2 /doc
parent7fd147681bab400c0f2e3dbe047983453bf7ecd5 (diff)
New documentation for updating patches for gerrit
Added instructions on how to amend changes to a previous commit. Included commands and brief instructions. Change-Id: I078c9392d71273f559357a014768aada85ad3405 Signed-off-by: Kyle Schneider <kinnder@gmail.com> Reviewed-on: http://review.gluster.org/5295 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/dev_guide.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/markdown/dev_guide.md b/doc/markdown/dev_guide.md
index aff1bcd..0fb776d 100644
--- a/doc/markdown/dev_guide.md
+++ b/doc/markdown/dev_guide.md
@@ -158,6 +158,20 @@ git review -d CHANGE_NUMBER
where CHANGE_NUMBER is the Gerrit change number.
+If you need to create a new patch for a change and include your update(s)
+to your last commit type:
+
+~~~
+git commit -as --amend
+~~~
+
+Now that you have finished updating your change, you need to re-upload
+to Gerrit using the following command:
+
+~~~
+git review
+~~~
+
## Creating Distribution Packages
### Tools Installation