You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding an entry to "reset current branch to here" to Gerrit entries, to provide an alternative to checking out or cherry picking a patch-set. This is a feature available on the normal Git log tab in IntelliJ, and would be similarly useful to users of Gerrit:
This command would fit well in this context menu, perhaps after the "Cherry-Pick (No Commit)" option:
Justification
Use case 1
When asynchronously collaborating with a teammate on one feature, especially in the case where one of us resumes work while the other is on days off, it's convenient for us to check out the other's work to continue. For example, they upload p1, I upload p2 the next day, they upload p3 the next day, I download p3 and upload p4 the next day. Since I already have a branch for this change, resetting would let me re-use my branch without having to fall back to the command line or messing with branches myself to continue work on the current branch.
Use case 2
Occasionally, the juniors at my company make a mistake, push something incorrect, and want to reset back to an earlier patch set. Being able to reset to an old patch set from their IDE would simplify their approach to resolve that sort of problem. One possible implementation would be to let them select the patch set using the dropdown on the right of each entry, and then select "Reset to here" from the context menu. An alternative UI to reset to a particular patch-set may be to provide context menu items for the pane listing the patch sets:
The text was updated successfully, but these errors were encountered:
Proposed enhancement;
Adding an entry to "reset current branch to here" to Gerrit entries, to provide an alternative to checking out or cherry picking a patch-set. This is a feature available on the normal Git log tab in IntelliJ, and would be similarly useful to users of Gerrit:
![image](https://user-images.githubusercontent.com/9982062/123644691-37e56900-d7eb-11eb-9d24-5066572c6611.png)
![image](https://user-images.githubusercontent.com/9982062/123644880-6b27f800-d7eb-11eb-9867-6e40a76c50e8.png)
This command would fit well in this context menu, perhaps after the "Cherry-Pick (No Commit)" option:
Justification
Use case 1
When asynchronously collaborating with a teammate on one feature, especially in the case where one of us resumes work while the other is on days off, it's convenient for us to check out the other's work to continue. For example, they upload p1, I upload p2 the next day, they upload p3 the next day, I download p3 and upload p4 the next day. Since I already have a branch for this change, resetting would let me re-use my branch without having to fall back to the command line or messing with branches myself to continue work on the current branch.
Use case 2
Occasionally, the juniors at my company make a mistake, push something incorrect, and want to reset back to an earlier patch set. Being able to reset to an old patch set from their IDE would simplify their approach to resolve that sort of problem. One possible implementation would be to let them select the patch set using the dropdown on the right of each entry, and then select "Reset to here" from the context menu. An alternative UI to reset to a particular patch-set may be to provide context menu items for the pane listing the patch sets:
![image](https://user-images.githubusercontent.com/9982062/123644025-9eb65280-d7ea-11eb-90b1-b035d033c5cf.png)
The text was updated successfully, but these errors were encountered: