From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Jonathan del Strother <maillist@steelskies.com>
Cc: Junio C Hamano <gitster@pobox.com>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: My stash wants to delete all my files
Date: Tue, 25 Sep 2007 11:41:50 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0709251139480.28395@racer.site> (raw)
In-Reply-To: <0F9BDBCD-06AA-4AB1-9DDA-9C98E8796AA1@steelskies.com>
Hi,
On Tue, 25 Sep 2007, Jonathan del Strother wrote:
> On 25 Sep 2007, at 10:56, Johannes Schindelin wrote:
>
> > On Tue, 25 Sep 2007, Jonathan del Strother wrote:
> >
> > > I don't think I git-added anything - just made changes to the
> > > working copy. (It *does* stash those, right??)
> >
> > Stash does not care about things that are not tracked, so no, it does
> > not stash those. Imagine a stash saving all those .o, .a and .so
> > files... Insanity!
>
>
> Mm, ok - fair point. I was actually thinking of files that are already
> tracked, but haven't been added to the staging area with git add.
Ah. I read your statement as "I don't think I git-added anything, ever".
So this is what stash is supposed to do:
- save the differences between the HEAD and the index
- save the differences between the HEAD and the working tree
- reset the index and the working tree to the state of the HEAD
So indeed, I am as puzzled as you are. Maybe it was your initial commit?
Ciao,
Dscho
prev parent reply other threads:[~2007-09-25 10:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 13:12 My stash wants to delete all my files Jonathan del Strother
2007-09-25 1:26 ` Junio C Hamano
2007-09-25 9:27 ` Jonathan del Strother
2007-09-25 9:56 ` Johannes Schindelin
2007-09-25 10:22 ` Jonathan del Strother
2007-09-25 10:41 ` Johannes Schindelin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0709251139480.28395@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=maillist@steelskies.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).