๐๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐จ๐ฆ๐ฆ๐๐ง๐๐ฌ
โข ๐๐ญ๐๐ฌ๐ก ๐๐ก๐๐ง๐ ๐๐ฌ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก` Stashes both staged and unstaged changes.
โข ๐๐ญ๐๐ฌ๐ก ๐ฐ๐ข๐ญ๐ก ๐ ๐๐๐ฌ๐ฌ๐๐ ๐
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฌ๐๐ฏ๐ โ๐๐จ๐ฎ๐ซ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฆ๐๐ฌ๐ฌ๐๐ ๐โ` Stashes changes with a descriptive message.
โข ๐๐ญ๐๐ฌ๐ก ๐๐ง๐ญ๐ซ๐๐๐ค๐๐ ๐
๐ข๐ฅ๐๐ฌ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก -๐ฎ ๐จ๐ซ ๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก โ ๐ข๐ง๐๐ฅ๐ฎ๐๐-๐ฎ๐ง๐ญ๐ซ๐๐๐ค๐๐` Stashes untracked files along with changes.
โข ๐๐ข๐ฌ๐ญ ๐๐ญ๐๐ฌ๐ก๐๐ฌ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฅ๐ข๐ฌ๐ญ` Lists all stashes youโve created.
โข ๐๐ฉ๐ฉ๐ฅ๐ฒ ๐๐๐ญ๐๐ฌ๐ญ ๐๐ญ๐๐ฌ๐ก
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ฉ๐ฉ๐ฅ๐ฒ` Applies the latest stash to the working directory. The stash is not removed.
โข ๐๐ฉ๐ฉ๐ฅ๐ฒ ๐ ๐๐ฉ๐๐๐ข๐๐ข๐ ๐๐ญ๐๐ฌ๐ก
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ฉ๐ฉ๐ฅ๐ฒ ๐ฌ๐ญ๐๐ฌ๐ก@{๐ง}` Applies the stash with index `๐ง`.
โข ๐๐จ๐ฉ ๐๐๐ญ๐๐ฌ๐ญ ๐๐ญ๐๐ฌ๐ก (๐๐ฉ๐ฉ๐ฅ๐ฒ ๐๐ง๐ ๐๐ซ๐จ๐ฉ)
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฉ๐จ๐ฉ` Applies the latest stash and removes it from the stash list.
โข ๐๐ซ๐จ๐ฉ ๐ ๐๐ญ๐๐ฌ๐ก
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ซ๐จ๐ฉ` Removes the latest stash without applying it.
โข ๐๐ซ๐จ๐ฉ ๐ ๐๐ฉ๐๐๐ข๐๐ข๐ ๐๐ญ๐๐ฌ๐ก
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ซ๐จ๐ฉ ๐ฌ๐ญ๐๐ฌ๐ก@{๐ง}` Removes the stash with index `๐ง`.
โข ๐๐ฅ๐๐๐ซ ๐๐ฅ๐ฅ ๐๐ญ๐๐ฌ๐ก๐๐ฌ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ฅ๐๐๐ซ` Removes all stashes.
โข ๐๐ซ๐๐๐ญ๐ ๐ ๐๐๐ฐ ๐๐ซ๐๐ง๐๐ก ๐๐ง๐ ๐๐ฉ๐ฉ๐ฅ๐ฒ ๐๐ญ๐๐ฌ๐ก
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ซ๐๐ง๐๐ก <๐ง๐๐ฐ_๐๐ซ๐๐ง๐๐ก_๐ง๐๐ฆ๐>` Creates a new branch and applies the latest stash to it.
โข ๐๐ก๐จ๐ฐ ๐๐ก๐๐ง๐ ๐๐ฌ ๐ข๐ง ๐ ๐๐ญ๐๐ฌ๐ก
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฌ๐ก๐จ๐ฐ -๐ฉ ๐ฌ๐ญ๐๐ฌ๐ก@{๐ง}` Shows the changes in a specific stash.
โข ๐๐ฉ๐ฉ๐ฅ๐ฒ ๐๐ญ๐๐ฌ๐ก ๐ฐ๐ข๐ญ๐ก ๐๐ฎ๐ญ๐จ-๐๐๐ซ๐ ๐
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ฉ๐ฉ๐ฅ๐ฒ โ 3๐ฐ๐๐ฒ ๐ฌ๐ญ๐๐ฌ๐ก@{๐ง}` Attempts to apply the stash using a 3-way merge.
โข ๐๐ญ๐๐ฌ๐ก ๐๐ง๐ฅ๐ฒ ๐๐ง๐ญ๐ซ๐๐๐ค๐๐ ๐
๐ข๐ฅ๐๐ฌ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฌ๐๐ฏ๐ โ ๐ข๐ง๐๐ฅ๐ฎ๐๐-๐ฎ๐ง๐ญ๐ซ๐๐๐ค๐๐` Stashes only untracked files.
โข ๐๐ญ๐๐ฌ๐ก ๐๐๐๐ฉ๐ข๐ง๐ ๐๐ง๐๐๐ฑ ๐๐ก๐๐ง๐ ๐๐ฌ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฌ๐๐ฏ๐ โ ๐ค๐๐๐ฉ-๐ข๐ง๐๐๐ฑ` Stashes changes but keeps changes in the index.
โข ๐๐ญ๐๐ฌ๐ก ๐๐ก๐๐ง๐ ๐๐ฌ ๐ข๐ง๐ญ๐๐ซ๐๐๐ญ๐ข๐ฏ๐๐ฅ๐ฒ
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐ฌ๐๐ฏ๐ -๐ฉ` Allows you to interactively choose which changes to stash.
โข ๐๐ฉ๐ฉ๐ฅ๐ฒ ๐๐ญ๐๐ฌ๐ก ๐๐ฌ ๐ ๐๐๐ซ๐ ๐
`๐ ๐ข๐ญ ๐ฌ๐ญ๐๐ฌ๐ก ๐๐ฉ๐ฉ๐ฅ๐ฒ -๐ฆ <๐ฆ๐๐ซ๐ ๐_๐ฉ๐๐ซ๐๐ง๐ญ_๐ง๐ฎ๐ฆ๐๐๐ซ>` Applies the stash as a merge. Useful when the stash represents changes from a different branch.