"value":"\n <p><code>git stash<\/code> is one of the commands I use the most.<\/p>\n\n<p>Maybe because I do trunk-based development so I very rarely create new branches, or because I intentionally make and push small atomic commits, I often find myself using <code>git stash<\/code> whilst debugging something or if I need to switch contexts quickly whilst in the middle of another task and I don't want to lose my changes.<\/p>\n\n<p>If it's not something I'm going to unstash and bring back almost immediately, I can create a new branch or create a named stash with <code>git stash save <name><\/code>.<\/p>\n\n<p>If I don't need to stash everything, it supports the <code>-p<\/code> or <code>--patch<\/code> option and I can decide what to stash and what to keep.<\/p>\n\n<p>If you haven't used <code>git stash<\/code>, I recommend giving it a try.<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p><code>git stash<\/code> is one of the commands I use the most.<\/p>\n\n<p>Maybe because I do trunk-based development so I very rarely create new branches, or because I intentionally make and push small atomic commits, I often find myself using <code>git stash<\/code> whilst debugging something or if I need to switch contexts quickly whilst in the middle of another task and I don't want to lose my changes.<\/p>\n\n<p>If it's not something I'm going to unstash and bring back almost immediately, I can create a new branch or create a named stash with <code>git stash save <name><\/code>.<\/p>\n\n<p>If I don't need to stash everything, it supports the <code>-p<\/code> or <code>--patch<\/code> option and I can decide what to stash and what to keep.<\/p>\n\n<p>If you haven't used <code>git stash<\/code>, I recommend giving it a try.<\/p>\n\n ",