RE: for newbs = little exercise / tutorial / warmup for windows and other non-sophisticated new Git users :-) [Scanned]

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

 



On Wed, 31 Dec 2008, Conor Rafferty wrote:

> And you would be wrong, IMHO.  Many people have untracked files or
> directories in their working directory ('cause they are working there)
> that they don't want deleted willy-nilly.  Build files, modifications
> that should be on a different branch, etc.  There's another thread
> active on the list complaining that git removes too much from the
> working tree.
> 
> ** An SCM should be able to cope with both use cases. In fact I make it
> easy for the SCM by deleting EVERYTHING from the working directory,
> before calling git-checkout.

In this case, git thinks you actually meant to delete those tracked files, 
and does its best to not undelete them unless you ask it to get them back. 
Git is very careful not to lose your changes, which is very nice most of 
the time, but means that you can't make changes and expect git to lose 
them.

	-Daniel
*This .sig left intentionally blank*
--
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