4 ms·
lately i’ve been using stash, reset hard, stash pop. work on a single patch over main. use a backup branch prior to stash, just in case.
by nathants 4y ago
lately i’ve been using stash, reset hard, stash pop. work on a single patch over main.
use a backup branch prior to stash, just in case.
- kjeetgill 4y agoThat's reasonable, but I think a commit + a rebase -i of just that single commit gets you to the same place. And now your backup branch can preserve the code you would have stashed.