Jump to content

Automatic shelving when switching branch


Marc S

Recommended Posts

Hi.

When switching branches with pending changes, we get a warning blocking us until we deal with said changes. This can be inconvenient because we sometimes don't want to commit those or need to move them to the other branch (if started working on the wrong one for example).

The current solution to this is to shelve said changes and remember to unshelve them when getting back, or doing that to the destination branch. This could be automatically managed in the warning window.

image.png.d4957eb2add0c3147ee212cf286b0b8d.png

Instead of "OK", the user would have two options "Keep changes on that branch for later" or "Move changes to destination branch".

The second option would have a warning if conflict.

The first option would trigger a message when switching back to a saved branch "Would you like to re-aply your previously shelved changes?".

 

Note that this feature already exists on competing services. This part of Plastic feels cumbersome when you're used to a more fluid workflow.

Thanks in advance.

Link to comment
Share on other sites

  • Marc S changed the title to Automatic shelving when switching branch

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...