4/1/2023 0 Comments Git stash changes![]() $ git stash On master: remove semi-colon from WIP on master: d7435644 Feat: configure graphql endpoint Retrieving stashed changes Saved working directory and index state On master: remove semi-colon from schema To add a description to the stash, you can use the command git stash save : $ git stash save "remove semi-colon from schema" However, this limited amount of information isn't helpful when you have multiple stashes, as it becomes difficult to remember or individually check their contents. ![]() Stashes are saved in a last-in-first-out (LIFO) approach: $ git stash WIP on master: d7435644 Feat: configure graphql endpointīy default, stashes are marked as WIP on top of the branch and commit that you created the stash from. You can view your stashes with the command git stash list. (1/1) Stash this hunk ? Listing your stashes To stash specific files, you can use the command git stash -p or git stash –patch: $ git stash -patch
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |