Re: My stash wants to delete all my files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux