Re: ignored files stilll listed in git ls-files

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

 



On Fri, Mar 06, 2009 at 10:02:03PM +0800, David Shen wrote:

> But my problem is only solved on Linux. On my winodws machine, I have
> added a lot of unwanted file to my git repo, before creating
> .gitignore file. I ran 'git rm --cached myfile' to remove it from the
> index. But they still exist in 'git ls-files', because they exist in
> the history. On Linux, I can use 'git filter-branch' to remove them
> from history. But, on windows,

I think filter-branch runs under cygwin (I think it might even run on
msysgit, but just hasn't been included in a shipped version yet). You
can also filter-branch on Linux and then fetch or clone the result to
Windows.

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