gerrit - How to change a patchset and push it as a new one? -
is possible fetch existing patchset (that has not been merged local machine), change , push new patch set?
@uncletall put steps there , link, thing should not delete changeid , should git commit --amend. giving him +1.
it should this
on gerrit, go review, select "checkout", on download field opposed "pull", "cherry-pick", or "patch", copy command.
on git project paste copied link above
this create detached head, branch no name (i've been through desert on horse no name, felt out of rain.)
name horse!
git checkout -b new_branch_name
change want ,
git add
on files want.do
git commit --amend
, keep samechange-id
.push changes:
git push origin <new_branch_name>:refs/for/<thatgerritbranchyouwanttochange>
Comments
Post a Comment