diff --git a/README.md b/README.md index 4508ae1..ad13c88 100644 --- a/README.md +++ b/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 ``` - -### Stash specific file + +### 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 working-directory-path/filename2.ext +``` + ### Stash with message