Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e89eb24

Browse files
committed
replacing git stash save by git stash push
`git stash save` -> This option is deprecated in favour of git stash push. [git docs](https://git-scm.com/docs/git-stash#Documentation/git-stash.txt-save-p--patch-k--no-keep-index-u--include-untracked-a--all-q--quietltmessagegt)
1 parent 14ad922 commit e89eb24

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

‎README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ git stash
442442

443443
__Alternatives:__
444444
```sh
445-
git stash save
445+
git stash push
446446
```
447447

448448
## Saving current state of unstaged changes to tracked files
@@ -458,7 +458,7 @@ git stash --keep-index
458458

459459

460460
```sh
461-
git stash save --keep-index
461+
git stash push --keep-index
462462
```
463463

464464
## Saving current state including untracked files
@@ -469,17 +469,23 @@ git stash -u
469469

470470
__Alternatives:__
471471
```sh
472-
git stash save -u
472+
git stash push -u
473473
```
474474

475475

476476
```sh
477-
git stash save --include-untracked
477+
git stash push --include-untracked
478478
```
479479

480480
## Saving current state with message
481481
```sh
482-
git stash save <message>
482+
git stash push -m <message>
483+
```
484+
485+
486+
__Alternatives:__
487+
```sh
488+
git stash push --message <message>
483489
```
484490

485491
## Saving current state of all files (ignored, untracked, and tracked)
@@ -495,7 +501,7 @@ git stash --all
495501

496502

497503
```sh
498-
git stash save --all
504+
git stash push --all
499505
```
500506

501507
## Show list of all saved stashes

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /