Merge pull request #184 from RedNik96/feature/git-stash-push

replacing `git stash save` by `git stash push`
This commit is contained in:
hemanth.hm 2021-01-12 12:18:27 -08:00 committed by GitHub
commit 40b03da99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

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