Resend Patch to Gerrit

1) You must be having git already. ( for ex: Rally)

git clone https://github.com/stackforge/rally.git

2)  get your branch

Ex:

https://review.openstack.org/#/c/170537/

git review -d 170537

3) Run this such that Change-Id will be updated.

gitdir=$(git rev-parse –git-dir); scp -p -P 29418 @review.openstack.org:hooks/commit-msg ${gitdir}/hooks/

4) make your code changes and amend

git commit -a –amend

5) Check if your Changelog, Change-Id are same as earlier.

6) Send patch

git review -d

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s