Skip to content

Commit 71f2ab2

Browse files
authored
Merge pull request k88hudson#149 from flexdinesh/master
flight-rule to stash multiple files at once
2 parents 7412b89 + 4bf1645 commit 71f2ab2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ For clarity's sake all examples in this document use a customized bash prompt in
6363
- [There were conflicts](#there-were-conflicts)
6464
- [Stashing](#stashing)
6565
- [Stash all edits](#stash-all-edits)
66-
- [Stash specific file](#stash-specific-file)
66+
- [Stash specific files](#stash-specific-files)
6767
- [Stash with message](#stash-msg)
6868
- [Apply a specific stash from list](#stash-apply-specific)
6969
- [Miscellaneous Objects](#miscellaneous-objects)
@@ -902,15 +902,21 @@ If you also want to stash untracked files, use `-u` option.
902902
$ git stash -u
903903
```
904904

905-
<a name="stash-specific-file"></a>
906-
### Stash specific file
905+
<a name="stash-specific-files"></a>
906+
### Stash specific files
907907

908908
To stash only one file from your working directory
909909

910910
```sh
911911
$ git stash push working-directory-path/filename.ext
912912
```
913913

914+
To stash multiple files from your working directory
915+
916+
```sh
917+
$ git stash push working-directory-path/filename1.ext <space> working-directory-path/filename2.ext
918+
```
919+
914920
<a name="stash-msg"></a>
915921
### Stash with message
916922

0 commit comments

Comments
 (0)