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

  1. on gerrit, go review, select "checkout", on download field opposed "pull", "cherry-pick", or "patch", copy command.

  2. 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.)

  3. name horse! git checkout -b new_branch_name

  4. change want , git add on files want.

  5. do git commit --amend , keep same change-id.

  6. push changes:

    git push origin <new_branch_name>:refs/for/<thatgerritbranchyouwanttochange>


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -