Revert "replacing `git stash save` by `git stash push`"

This reverts commit e89eb24e67.
This commit is contained in:
rednik96 2021-01-10 11:41:46 +01:00
parent e89eb24e67
commit 6b2007ab79
1 changed files with 6 additions and 12 deletions

View File

@ -442,7 +442,7 @@ git stash
__Alternatives:__
```sh
git stash push
git stash save
```
## Saving current state of unstaged changes to tracked files
@ -458,7 +458,7 @@ git stash --keep-index
```sh
git stash push --keep-index
git stash save --keep-index
```
## Saving current state including untracked files
@ -469,23 +469,17 @@ git stash -u
__Alternatives:__
```sh
git stash push -u
git stash save -u
```
```sh
git stash push --include-untracked
git stash save --include-untracked
```
## Saving current state with message
```sh
git stash push -m <message>
```
__Alternatives:__
```sh
git stash push --message <message>
git stash save <message>
```
## Saving current state of all files (ignored, untracked, and tracked)
@ -501,7 +495,7 @@ git stash --all
```sh
git stash push --all
git stash save --all
```
## Show list of all saved stashes