File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
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 save
445
+ git stash push
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 save --keep-index
461
+ git stash push --keep-index
462
462
```
463
463
464
464
## Saving current state including untracked files
@@ -469,17 +469,23 @@ git stash -u
469
469
470
470
__ Alternatives:__
471
471
``` sh
472
- git stash save -u
472
+ git stash push -u
473
473
```
474
474
475
475
476
476
``` sh
477
- git stash save --include-untracked
477
+ git stash push --include-untracked
478
478
```
479
479
480
480
## Saving current state with message
481
481
``` 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>
483
489
```
484
490
485
491
## Saving current state of all files (ignored, untracked, and tracked)
@@ -495,7 +501,7 @@ git stash --all
495
501
496
502
497
503
``` sh
498
- git stash save --all
504
+ git stash push --all
499
505
```
500
506
501
507
## Show list of all saved stashes
You can’t perform that action at this time.
0 commit comments