replacing `git stash save` by `git stash push`

This commit is contained in:
rednik96 2021-01-10 11:46:57 +01:00
parent 6b2007ab79
commit 0eb60008aa
1 changed files with 6 additions and 5 deletions

View File

@ -131,22 +131,23 @@
}, {
"title": "Saving current state of tracked files without commiting",
"tip": "git stash",
"alternatives": ["git stash save"]
"alternatives": ["git stash push"]
}, {
"title": "Saving current state of unstaged changes to tracked files",
"tip": "git stash -k",
"alternatives": ["git stash --keep-index", "git stash save --keep-index"]
"alternatives": ["git stash --keep-index", "git stash push --keep-index"]
}, {
"title": "Saving current state including untracked files",
"tip": "git stash -u",
"alternatives": ["git stash save -u", "git stash save --include-untracked"]
"alternatives": ["git stash push -u", "git stash push --include-untracked"]
}, {
"title": "Saving current state with message",
"tip": "git stash save <message>"
"tip": "git stash push -m <message>",
"alternatives": ["git stash push --message <message>"]
}, {
"title": "Saving current state of all files (ignored, untracked, and tracked)",
"tip": "git stash -a",
"alternatives": ["git stash --all", "git stash save --all"]
"alternatives": ["git stash --all", "git stash push --all"]
}, {
"title": "Show list of all saved stashes",
"tip": "git stash list"