Re: [PATCH] git-stash: Display help message if git-stash is run without sub-commands
- From
David Kastrup <dak@gnu.org>
- Date
- Nov 30, 2007, 20:11 UTC
- Message-ID
- <85mysvwl25.fsf@lola.goethe.zz>
- In-Reply-To
- <7vr6i7qz6b.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> "Kevin Leung" <kevinlsk@gmail.com> writes: > >> On Nov 30, 2007 4:41 PM, Mike Hommey <mh@glandium.org> wrote: >>> Still, 'git stash' alone should *do* the stash. >>> >> >> How about `git stash' still does the stash, and `git stash llist' >> exits with usage message? And if you want to save the stash with name, >> you can only do it with `git stash save name_of_stash'. > > Sounds like a sensible thing to do.
Instead of "save", one could use "stash" since that is what it is supposed to do. Then
git stash stash stash
would create a stash called "stash".
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum