Skip to content

Commit

Permalink
Merge pull request #136 from shfshanyue/master
Browse files Browse the repository at this point in the history
Add tip: git stash save <message>
  • Loading branch information
hemanth committed Feb 21, 2017
2 parents df6de59 + e574325 commit edeed06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tips.json
Expand Up @@ -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"
Expand Down

0 comments on commit edeed06

Please sign in to comment.