On Fri, Mar 28, 2008 at 3:52 PM, Alex Bennee <kernel-hacker@xxxxxxxxxx> wrote: > ajb@pitcairn:/export/git/fresh.git$ git-filter-branch --tree-filter > 'rm -rf big_dira big_dirb' dev-branch > warning: refname 'dev-branch' is ambiguous. > Which ref do you want to rewrite? Ignore me. Not sure why but: git-checkout dev-branch git-filter-branch --tree-filter 'rm -rf big_dira big_dirb' HEAD works -- Alex, homepage: http://www.bennee.com/~alex/ -- 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