Kunal Chauhan <atkunalchau...@gmail.com> writes: Hi Kunal,
> I gone through the git doc but I am not able to do the git stash > particular file > > like 1. >>>git stash show //its some some 2 files +++ and ---- > > but I tried > :>> git stash push -m "message " filepath > above command is working ? git stash -h shows --8<---------------cut here---------------start------------->8--- usage: git stash list [<options>] or: git stash show [<options>] [<stash>] or: git stash drop [-q|--quiet] [<stash>] or: git stash ( pop | apply ) [--index] [-q|--quiet] [<stash>] or: git stash branch <branchname> [<stash>] or: git stash clear or: git stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet] [-u|--include-untracked] [-a|--all] [-m|--message <message>] [--pathspec-from-file=<file> [--pathspec-file-nul]] [--] [<pathspec>...]] or: git stash save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet] [-u|--include-untracked] [-a|--all] [<message>] --8<---------------cut here---------------end--------------->8--- so it must be git stash push -m "message " -- filepath That filespecs go after a double-dash is quite common with git. For example, if you want to checkout only some file of a given revision, you'd also use something like git checkout <sha> -- path/to/file Bye, Tassilo -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/871rnoz5fh.fsf%40gnu.org.