4 ms·
Not if they were never committed in the first place. It sounds like if you made changes without committing them (new files or modified committed files), and the
by Karunamon 9y ago
Not if they were never committed in the first place. It sounds like if you made changes without committing them (new files or modified committed files), and then branch switch, that content is gone with no warning.
- rootlocus 9y agoGit usually aborts any checkouts or merges that destroy the working directory. You can however use `git reset --hard HEAD` (which I aliased nuke) and it will happily oblige.