File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ git stash
442
442
443
443
__ Alternatives:__
444
444
``` sh
445
- git stash push
445
+ git stash save
446
446
```
447
447
448
448
## Saving current state of unstaged changes to tracked files
@@ -458,7 +458,7 @@ git stash --keep-index
458
458
459
459
460
460
``` sh
461
- git stash push --keep-index
461
+ git stash save --keep-index
462
462
```
463
463
464
464
## Saving current state including untracked files
@@ -469,23 +469,17 @@ git stash -u
469
469
470
470
__ Alternatives:__
471
471
``` sh
472
- git stash push -u
472
+ git stash save -u
473
473
```
474
474
475
475
476
476
``` sh
477
- git stash push --include-untracked
477
+ git stash save --include-untracked
478
478
```
479
479
480
480
## Saving current state with message
481
481
``` sh
482
- git stash push -m < message>
483
- ```
484
-
485
-
486
- __ Alternatives:__
487
- ``` sh
488
- git stash push --message < message>
482
+ git stash save < message>
489
483
```
490
484
491
485
## Saving current state of all files (ignored, untracked, and tracked)
@@ -501,7 +495,7 @@ git stash --all
501
495
502
496
503
497
``` sh
504
- git stash push --all
498
+ git stash save --all
505
499
```
506
500
507
501
## Show list of all saved stashes
You can’t perform that action at this time.
0 commit comments