Simpler indeed. That's actually what stash does internally.
I usually don't make a separate branch, but just commit it in the current branch. Then you can rebase or amend later. You never need 'snapshot' if you know rebase -i.
I usually don't make a separate branch, but just commit it in the current branch. Then you can rebase or amend later. You never need 'snapshot' if you know rebase -i.
This is pretty much identical to stashing, though I prefer it since it means the part of git I use is smaller.