stash content with a custom message (#138)

Added command which can be used to stash code marked with a custom message
This commit is contained in:
Navneet Singh 2017-11-18 20:33:11 +05:30 committed by Richard Littauer
parent 2637bf010f
commit b7d9be9af9
1 changed files with 8 additions and 0 deletions

View File

@ -65,6 +65,7 @@ For clarity's sake all examples in this document use a customized bash prompt in
- [Delete tag](#delete-tag)
- [Recover a deleted tag](#recover-a-deleted-tag)
- [Deleted Patch](#deleted-patch)
- [Stash with message](#stash-msg)
- [Tracking Files](#tracking-files)
- [I want to change a file name's capitalization, without changing the contents of the file.](#i-want-to-change-a-file-names-capitalization-without-changing-the-contents-of-the-file)
- [I want to remove a file from git but keep the file](#i-want-to-remove-a-file-from-git-but-keep-the-file)
@ -924,6 +925,13 @@ From github.com:foo/bar
* [new ref] refs/pull/1/head -> pr_1
```
<a name="stash-msg"></a>
### Stash with message
```sh
$ git stash save <message>
```
## Tracking Files
<a href="i-want-to-change-a-file-names-capitalization-without-changing-the-contents-of-the-file"></a>