I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
With git stash save you are able to add a message to your stash, almost like a commit message. It would like something like git stash save "stashing my changes". This makes it easier to know which stash is which when you run git stash list. You can then pick which stash to use with the git stash apply command. You would just need to provide which stash from the list using syntax like git stash apply stash@{2}. The 2 is the id of the stash, which you can see when you run git stash list.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I learned how useful
git stash save
andgit stash apply
can be.Awesome!
Is git stash different from git stash save?
With
git stash save
you are able to add a message to your stash, almost like a commit message. It would like something likegit stash save "stashing my changes"
. This makes it easier to know which stash is which when you rungit stash list
. You can then pick which stash to use with thegit stash apply
command. You would just need to provide which stash from the list using syntax likegit stash apply stash@{2}
. The 2 is the id of the stash, which you can see when you rungit stash list
.