3 ms·
I like the approach of creating a new temporary branch for changes I need to stash. When I come back to the work I usually bring the changes back to the branch
by rurp 7y ago
I like the approach of creating a new temporary branch for changes I need to stash. When I come back to the work I usually bring the changes back to the branch I'm working in with `git cherry-pick -n <commit hash>`. The -n flag cherry picks the changes over without making a new commit, so I can finish whatever I was doing and then make a proper commit.
- smcameron 7y agoI use stgit for this kind of thing.