Re: suggestion for git stash
- From
- Bruno Haible <bruno@clisp.org>
- Date
- Sep 30, 2007, 20:59 UTC
- Message-ID
- <200709302259.11731.bruno@clisp.org>
- In-Reply-To
- <7vfy0vhqkl.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
> Isn't "stash apply --index" what you talk about?
Not really:
$ git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: README # # Changed but not updated: # (use "git add <file>..." to update what will be committed) # # modified: NEWS # $ git stash Saved "WIP on master: 61135ee... Use check_PROGRAMS instead of noinst_PROGRAMS." HEAD is now at 61135ee... Use check_PROGRAMS instead of noinst_PROGRAMS. $ git stash apply --index error: No changes Conflicts in index. Try without --index.
(This is git version 1.5.3.1.)
I don't know what "git stash apply --index" does, since it's not documented.
Bruno