Skip to content

Commit 40b03da

Browse files
authored
Merge pull request #184 from RedNik96/feature/git-stash-push
replacing `git stash save` by `git stash push`
2 parents e1b98f7 + 0eb6000 commit 40b03da

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tips.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,23 @@
131131
}, {
132132
"title": "Saving current state of tracked files without commiting",
133133
"tip": "git stash",
134-
"alternatives": ["git stash save"]
134+
"alternatives": ["git stash push"]
135135
}, {
136136
"title": "Saving current state of unstaged changes to tracked files",
137137
"tip": "git stash -k",
138-
"alternatives": ["git stash --keep-index", "git stash save --keep-index"]
138+
"alternatives": ["git stash --keep-index", "git stash push --keep-index"]
139139
}, {
140140
"title": "Saving current state including untracked files",
141141
"tip": "git stash -u",
142-
"alternatives": ["git stash save -u", "git stash save --include-untracked"]
142+
"alternatives": ["git stash push -u", "git stash push --include-untracked"]
143143
}, {
144144
"title": "Saving current state with message",
145-
"tip": "git stash save <message>"
145+
"tip": "git stash push -m <message>",
146+
"alternatives": ["git stash push --message <message>"]
146147
}, {
147148
"title": "Saving current state of all files (ignored, untracked, and tracked)",
148149
"tip": "git stash -a",
149-
"alternatives": ["git stash --all", "git stash save --all"]
150+
"alternatives": ["git stash --all", "git stash push --all"]
150151
}, {
151152
"title": "Show list of all saved stashes",
152153
"tip": "git stash list"

0 commit comments

Comments
 (0)