On Friday, May 2, 2014 6:21:38 AM UTC-7, Thomas Ferris Nicolaisen wrote:
> On Friday, May 2, 2014 5:59:55 AM UTC+2, joeri...@gmail.com wrote:
>> I was wondering if there was a way to delete a file in a particular
>> directory; the name of the file is used in multiple directories, but I
>> wanted to delete just the one. The --delete-files option only takes the
>> filename, not the path.
> Are you aware that the BFG will only remove files that have been actually
> removed from the latest version of the repository? If there are other files
> with the same name that still exist, they won't be cleaned out.
That is not true. BFG will happily delete files that have not been removed
from any branch, without regard to path.
For example, suppose I have files named bar and foo/bar on two branches,
with different content on each branch.
Assume HEAD is set to master. If I then clone the archive, run bfg -D bar
on the clone, then push the cloned archive,
the original repo will only have the files bar and foo/bar in the master
branch, they are gone from the others.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.