Sublime Forum

Switching branches - auto stash files

#1

We are working on a Xcode based project were switching branches caused the Swift packages lock file to be updated and it is almost always dirty.

I must always quit the Xcode before switching the branch in Sublime Merge because discarding results in the file is immediately followed by Xcode changing the lock file content.

It would be great the Sublime Merge would automatically stash all changes before switching branch and reapplying them back afterwards.

0 Likes