diff --git a/README.md b/README.md index 5f993d0..d965a0e 100644 --- a/README.md +++ b/README.md @@ -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 +``` + ## Show list of all saved stashes ```sh git stash list diff --git a/tips.json b/tips.json index b2c216c..9fe00f9 100644 --- a/tips.json +++ b/tips.json @@ -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 " }, { "title": "Show list of all saved stashes", "tip": "git stash list"