Thread (4 messages) flat view 4 messages, 2 authors, 2017-01-19

Re: fatal: bad revision 'git rm -r --ignore-unmatch -- folder'

From: Jeff King <hidden>
Date: 2017-01-17 15:45:06

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help