aegilops :github::microsoft:<p><span class="h-card"><a href="https://mastodon.social/@joxean" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>joxean</span></a></span> in git I’d just use a branch for this, and use commits.</p><p>You can checkout different branches quickly to switch between different sets of commits you make (e.g. feature branches).</p><p>This SO top answer agrees: <a href="https://stackoverflow.com/questions/3656351/git-for-perforce-users" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/36</span><span class="invisible">56351/git-for-perforce-users</span></a></p><p>You can use git stash too: <a href="https://git-scm.com/docs/git-stash" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">git-scm.com/docs/git-stash</span><span class="invisible"></span></a></p><p>It has a “stack” but you can apply a stash out of order.</p><p>I only use stash as a last resort when I get in a tangle, not as a way to store anything; no tips on workflow.</p><p><a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a> <a href="https://fosstodon.org/tags/perforce" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perforce</span></a> <a href="https://fosstodon.org/tags/GitStash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GitStash</span></a></p>