| Summary: | Missing Git reset? | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | maciej.bendkowski |
| Version: | 0.4 | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
I pinged Mark today with this very same problem! I had inadvertently clicked "Merge" on a topic branch when I meant to "checkout" which merged my topic commits into master. You can't reset from the local branch, you have to click "view all branches" and then choose reset from the remote branch. I think we should look at this in 0.5 - a "reset selected local to remote" command in addition to "reset active to selected remote" (In reply to comment #1) > I pinged Mark today with this very same problem! I had inadvertently clicked > "Merge" on a topic branch when I meant to "checkout" which merged my topic > commits into master. > > You can't reset from the local branch, you have to click "view all branches" > and then choose reset from the remote branch. > > I think we should look at this in 0.5 - a "reset selected local to remote" > command in addition to "reset active to selected remote" Also very natural in git would be "reset HEAD to this commit" command in the log branch log view. I might have other unpushed commits that I don't want to trash - and something like that would make it very clear what commits are being discarded. This is now supported. Select a commit in the Git timeline, and there is a "Reset" button (two arrows in a circle). |