3 ms·
I think stashes are tagged with the branch name somehow? When I do a `git stash push && git stash list`, I get something like `stash@{0}: WIP on {branch}: {hash
by battery_cowboy 6y ago
I think stashes are tagged with the branch name somehow? When I do a `git stash push && git stash list`, I get something like `stash@{0}: WIP on {branch}: {hash} {commit message...}`.
- astrobe_ 6y agoThe message you get is an automatic message filled by Git when you don't provide one with the -m option. Stashes are kind of sort of like branches themselves [1], but they are usually seen as a list, from which you can (cherry-?) pick arbitrary stashes with the apply or pop command, just name it [2] [1] https://stackoverflow.com/questions/18527171/how-does-stashing-work-in-git-internals https://stackoverflow.com/questions/18527171/how-does-stashi... [2] https://www.git-scm.com/docs/git-stash https://www.git-scm.com/docs/git-stash