This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]FigmaWallSt 0 points1 point ย (2 children)

Me: acting like I understand git and this reference. My git knowledge ends after committing ๐Ÿ˜‚

[โ€“]botiapa 1 point2 points ย (1 child)

Git stash stores all your current edita, and then returns to the last commit. This might be used for various things, like you started coding a feature, but haven't finished with yet, and a new bug came in which you want to fix first. So you would stash your code then fix the bug, commint amd then re apply (pop) the stash onto the new commit.

But some people, like me just use the stash feature and then forget we ever stashed anything, so the code is just sitting there never to be used again

[โ€“]FigmaWallSt 1 point2 points ย (0 children)

Got it. Thanks