diff options
author | Kyle Schneider <kinnder@gmail.com> | 2013-07-05 12:01:55 -0400 |
---|---|---|
committer | Luis Pabon <lpabon@redhat.com> | 2013-07-05 11:31:32 -0700 |
commit | 04c8e495f9197506522e353b2d27f343f450f935 (patch) | |
tree | deab3bb3069d6da8c07589fd939b243a0229fdc2 | |
parent | 7fd147681bab400c0f2e3dbe047983453bf7ecd5 (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>
-rw-r--r-- | doc/markdown/dev_guide.md | 14 |
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 |