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
{{ message }}
Repository navigation
[stashing] successfully popping a stash with conflicts doesn't drop the stash #7383
bugConfirmed bugs or reports that are very likely to be bugsepic:stashingTracking label for work related to the stashing flowpriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Note that there will be conflicts and the stash content will be placed in the working directory, but Desktop will continue to show that there is a stash entry. This is because of underlying git behavior aka desktop shows the stash because pop didn't actually remove the stash.
You'll notice in this screenshot that while a stash has been popped (and resulted in conflicts) it still exists in the UI. We should ensure the stash is dropped as long as the pop is successful. (This doesn't include the case where popping the stash fails due to conflicts.)
We should consider this for feature for dealing with a stash merge conflict as it would give the user a cleaner option.
If you stash some work, leave it there for a while, and continue on the branch from which you stashed the work, you may have a problem reapplying the work. If the apply tries to modify a file that you’ve since modified, you’ll get a merge conflict and will have to try to resolve it. If you want an easier way to test the stashed changes again, you can run git stash branch, which creates a new branch for you, checks out the commit you were on when you stashed your work, reapplies your work there, and then drops the stash if it applies successfully.
bugConfirmed bugs or reports that are very likely to be bugsepic:stashingTracking label for work related to the stashing flowpriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Activity
tierninho commentedon Apr 23, 2019
We should consider this for feature for dealing with a stash merge conflict as it would give the user a cleaner option.
outofambit commentedon Apr 23, 2019
@tierninho yes absolutely!
dyna-dot commentedon May 11, 2019