mirror of
https://github.com/namibia/tips.git
synced 2025-01-03 14:17:28 +00:00
Add tip: git stash save <message>
This commit is contained in:
parent
df6de59ba1
commit
e574325d66
@ -50,6 +50,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
|
||||
* [Git Aliases](#git-aliases)
|
||||
* [Saving current state of tracked files without commiting](#saving-current-state-of-tracked-files-without-commiting)
|
||||
* [Saving current state including untracked files](#saving-current-state-including-untracked-files)
|
||||
* [Saving current state with message](#saving-current-state-with-message)
|
||||
* [Show list of all saved stashes](#show-list-of-all-saved-stashes)
|
||||
* [Apply any stash without deleting from the stashed list](#apply-any-stash-without-deleting-from-the-stashed-list)
|
||||
* [Apply last stashed state and delete it from stashed list](#apply-last-stashed-state-and-delete-it-from-stashed-list)
|
||||
@ -414,6 +415,11 @@ __Alternatives:__
|
||||
git stash save --include-untracked
|
||||
```
|
||||
|
||||
## Saving current state with message
|
||||
```sh
|
||||
git stash save <message>
|
||||
```
|
||||
|
||||
## Show list of all saved stashes
|
||||
```sh
|
||||
git stash list
|
||||
|
@ -124,6 +124,9 @@
|
||||
"title": "Saving current state including untracked files",
|
||||
"tip": "git stash save -u",
|
||||
"alternatives": ["git stash save --include-untracked"]
|
||||
}, {
|
||||
"title": "Saving current state with message",
|
||||
"tip": "git stash save <message>"
|
||||
}, {
|
||||
"title": "Show list of all saved stashes",
|
||||
"tip": "git stash list"
|
||||
|
Loading…
Reference in New Issue
Block a user