1
0
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:
Emmanuel Arias 2017-11-23 12:05:22 -03:00 committed by GitHub
commit 71f2ab2917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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