DEV Community

Discussion on: Mastering Git Stash Workflow

thinkverse profile image
Kim Hallberg

Great post, been trying to use stash but didn't really understand it so this was a great read. 🤘

Two quick things, since we can use HTML elements in markdown, why not add <addr> to LIFO to show users what the abbreviation stands for?

<addr title="last in, first out">LIFO</addr>

Much simpler than having to open a new tab and google for the definition of it. 🙂

Also, the <item-id> how does that work? I see it's stash@{0} is that a regular zero-based index or something else? the stash@ is that a branch-name? 🤔

yankee profile image
Yankee Maharjan Author

Thank you for the feedback Kim. Updated the LIFO part.

About the item-id, it is a regular zero-based index.