Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
# git stash
|
||||
|
||||
> Stash local Git changes in a temporary area
|
||||
> 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_name}}`
|
||||
|
||||
- include new files in the stash (leaves the index completely clean)
|
||||
- Include new files in the stash (leaves the index completely clean):
|
||||
|
||||
`git stash save -u {{optional_stash_name}}`
|
||||
|
||||
- list all stashes
|
||||
- List all stashes:
|
||||
|
||||
`git stash list`
|
||||
|
||||
- re-apply the latest stash
|
||||
- Re-apply the latest stash:
|
||||
|
||||
`git stash pop`
|
||||
|
||||
- re-apply a stash by name
|
||||
- Re-apply a stash by name:
|
||||
|
||||
`git stash apply {{stash_name}}`
|
||||
|
||||
- drop a stash by an index
|
||||
- Drop a stash by an index:
|
||||
|
||||
`git stash drop stash@{index}`
|
||||
|
Reference in New Issue
Block a user