2 ms·
I've never needed to pre-write my commit message or felt that was an issue. However, I do think git could make it easier to context switch. It would be pretty
by nightski 6y ago
I've never needed to pre-write my commit message or felt that was an issue. However, I do think git could make it easier to context switch. It would be pretty neat if you could switch branches without losing your working changes - so they are there when you return. I understand git stash exists, but that is two extra steps, you have to give it a name, and then remember which stash contains what. It would be nice if you could just leave the working changes with the branch itself uncommitted.
- juancampa 6y agoI have a little bash function that goes over all your stashed diffs and let's you either apply it or continue. This way I can resume work faster by finding the right stashed state quickly. Here's the code if anyone is interested: https://gist.github.com/juancampa/69b065c5c09a775ea72f6c8c77960554 https://gist.github.com/juancampa/69b065c5c09a775ea72f6c8c77...