3 ms·
HN italics markup is mangling your code – indent the code block to fix :) like so! > save current changes before switching branches Also: why this over a
by lelandfe 4y ago
HN italics markup is mangling your code – indent the code block to fix :)
like so!
> save current changes before switching branches
Also: why this over a stash? Stashing fundamentally just creates a hidden little commit with all your unstaged work on it. It does have one advantage over your approach, which is easily applying the work to another branch.
- emacs28 4y ago> indent the code block to fix :) Thanks! > Also: why this over a stash? I just like this better because with stash you have to do one more command (stash pop) to get the changes back after switching back to the first branch, but this way the changes are already there when you switch back.