opendevreview | JIHOJU proposed openstack/python-openstackclient master: Add more filter option of columns for server list -c COLUMN https://review.opendev.org/c/openstack/python-openstackclient/+/807420 | 06:32 |
---|---|---|
thomasb06 | to go backward 3 commits, it's `git rebase -i HEAD~3`, then change pick by drop, then `git commit --amend` to change the commit message, and to end `git review`? | 07:20 |
gtema | Well, 2 options | 07:42 |
gtema | 1) in UI click rebase and select "to HEAD" | 07:42 |
gtema | 2) do "git review -d LAST_CHANGE" and "git rebase feature/R1" | 07:43 |
gtema | In any way important: last line of commit message is changeid, this is the identifier for Gerrit. Once this changes you produce new change | 07:45 |
gtema | And every time you do regular commit your local hooks tend to ensure there is changeid there | 07:45 |
gtema | Wrt 2) somehow I am not 100% sure it will work. It may decide to rebase whole change and not only the last change | 07:46 |
gtema | Thus option 1) is the easiest way | 07:46 |
thomasb06 | as I have no UI, I'll go for option 2). Monday I'm back on the computer that has the repo, I'll try to rebase there. If clone the repository again on another computer and commit other changes, it's going to be messy I guess? | 09:16 |
thomasb06 | from another computer: https://review.opendev.org/c/openstack/openstacksdk/+/807427 | 09:37 |
thomasb06 | branch is feature/r1 and it's one commit far from the Head | 09:38 |
gtema | Under UI I mean gerrit | 09:47 |
thomasb06 | Yes, I haven't installed the gerrit UI yet. What I did was to clone the repository on another computer and as the copy was clean redo the modifications straight from the Head. Monday, I'll need to clean the three failed commit but I'm not sure about how to do it. Maybe `git fetch --force`? | 10:42 |
gtema | You don't install it | 11:06 |
gtema | The link you posted - simply open it with browser | 11:06 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!