mirror of
https://github.com/git-tips/tips
synced 2024-11-10 05:44:14 +00:00
replacing git stash save
by git stash push
This commit is contained in:
parent
6b2007ab79
commit
0eb60008aa
1 changed files with 6 additions and 5 deletions
11
tips.json
11
tips.json
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue