Re: checkout w/ removing untracked files

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

 



Enrico Weigelt <weigelt@xxxxxxxx> writes:

> For my Briegel buildsystem (git://pubgit.metux.de/projects/briegel.git/)
> I need to checkout a really tree (iow: no untracked files may be
> left in the workdir) from git. ATM I'm removing and recreating the
> whole directory first, but I hope to get rid of this step.

(1) If you have a correctly working "make reallyclean" to remove build
    artifacts, you wouldn't even need such an option.

(2) Have you tried to read up on "git clean -dfqx"?



--
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]