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>
This commit is contained in:
parent
7fd147681b
commit
04c8e495f9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user