On Tue, Jan 17, 2017 at 04:30:48PM +0100, jean-christophe manciot wrote: > I'm trying to purge a complete folder and its files from the > repository history with: > > git-Games# git filter-branch 'git rm -r --ignore-unmatch -- > Ubuntu/16.04/' --tag-name-filter cat -- --all HEAD > fatal: bad revision 'git rm -r --ignore-unmatch -- Ubuntu/16.04/' Did you forget "--tree-filter" or "--index-filter" before the "git rm" parameter? Without an option it will be interpreted as a refname, which it obviously isn't. -Peff