mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Merge pull request #149 from flexdinesh/master
flight-rule to stash multiple files at once
This commit is contained in:
commit
71f2ab2917
12
README.md
12
README.md
@ -63,7 +63,7 @@ For clarity's sake all examples in this document use a customized bash prompt in
|
||||
- [There were conflicts](#there-were-conflicts)
|
||||
- [Stashing](#stashing)
|
||||
- [Stash all edits](#stash-all-edits)
|
||||
- [Stash specific file](#stash-specific-file)
|
||||
- [Stash specific files](#stash-specific-files)
|
||||
- [Stash with message](#stash-msg)
|
||||
- [Apply a specific stash from list](#stash-apply-specific)
|
||||
- [Miscellaneous Objects](#miscellaneous-objects)
|
||||
@ -902,8 +902,8 @@ If you also want to stash untracked files, use `-u` option.
|
||||
$ git stash -u
|
||||
```
|
||||
|
||||
<a name="stash-specific-file"></a>
|
||||
### Stash specific file
|
||||
<a name="stash-specific-files"></a>
|
||||
### Stash specific files
|
||||
|
||||
To stash only one file from your working directory
|
||||
|
||||
@ -911,6 +911,12 @@ To stash only one file from your working directory
|
||||
$ git stash push working-directory-path/filename.ext
|
||||
```
|
||||
|
||||
To stash multiple files from your working directory
|
||||
|
||||
```sh
|
||||
$ git stash push working-directory-path/filename1.ext <space> working-directory-path/filename2.ext
|
||||
```
|
||||
|
||||
<a name="stash-msg"></a>
|
||||
### Stash with message
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user