fork-dev / Tracker

Bug and issue tracker for Fork for Mac
505 stars 12 forks source link

[idea] offer to stash or delete changes when switching branches #2186

Open mikemaccana opened 3 weeks ago

mikemaccana commented 3 weeks ago

I am currently moving between branches regularly, and fork tells me:

error: Your local changes to the following files would be overwritten by checkout:
    package-lock.json
Please commit your changes or stash them before you switch branches.
Aborting

I can fix this myself, but it would be easier if fork simply asked me what I wanted to do with my changes.

DanPristupov commented 3 weeks ago

Doesn't Fork propose this already?

Screenshot 2024-08-20 at 22 27 13