Skip to content

Commit e849a6f

Browse files
author
Diogo Lemos
committed
No need for git stash save
1 parent 3fe8a23 commit e849a6f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,16 @@ git stash save --keep-index
426426

427427
## Saving current state including untracked files
428428
```sh
429-
git stash save -u
429+
git stash -u
430430
```
431431

432432

433433
__Alternatives:__
434+
```sh
435+
git stash save -u
436+
```
437+
438+
434439
```sh
435440
git stash save --include-untracked
436441
```

tips.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126
"alternatives": ["git stash --keep-index", "git stash save --keep-index"]
127127
}, {
128128
"title": "Saving current state including untracked files",
129-
"tip": "git stash save -u",
130-
"alternatives": ["git stash save --include-untracked"]
129+
"tip": "git stash -u",
130+
"alternatives": ["git stash save -u", "git stash save --include-untracked"]
131131
}, {
132132
"title": "Saving current state with message",
133133
"tip": "git stash save <message>"

0 commit comments

Comments
 (0)