1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-15 17:47:12 +00:00

No need for git stash save

This commit is contained in:
Diogo Lemos 2017-02-24 11:44:13 +00:00
parent 3fe8a233c0
commit e849a6f24a
2 changed files with 8 additions and 3 deletions

View File

@ -426,11 +426,16 @@ git stash save --keep-index
## Saving current state including untracked files
```sh
git stash save -u
git stash -u
```
__Alternatives:__
```sh
git stash save -u
```
```sh
git stash save --include-untracked
```

View File

@ -126,8 +126,8 @@
"alternatives": ["git stash --keep-index", "git stash save --keep-index"]
}, {
"title": "Saving current state including untracked files",
"tip": "git stash save -u",
"alternatives": ["git stash save --include-untracked"]
"tip": "git stash -u",
"alternatives": ["git stash save -u", "git stash save --include-untracked"]
}, {
"title": "Saving current state with message",
"tip": "git stash save <message>"