mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 05:35:46 +02:00
git-stash: Improved examples verbosity
This commit is contained in:
parent
57fd36ec38
commit
480255d595
1 changed files with 5 additions and 5 deletions
|
@ -2,15 +2,15 @@
|
|||
|
||||
> Stash local Git changes in a temporary area.
|
||||
|
||||
- Stash current changes (except new files):
|
||||
- Stash current changes, except new files:
|
||||
|
||||
`git stash save {{optional_stash_message}}`
|
||||
`git stash [save {{optional_stash_message}}]`
|
||||
|
||||
- Include new files in the stash (leaves the index completely clean):
|
||||
- Stash current changes, including new/untracked files:
|
||||
|
||||
`git stash save -u {{optional_stash_message}}`
|
||||
`git stash -u`
|
||||
|
||||
- List all stashes:
|
||||
- List all stashes (shows stash name, related branch and message):
|
||||
|
||||
`git stash list`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue