Re: fatal: bad revision 'git rm -r --ignore-unmatch -- folder'
- From
- jean-christophe manciot <actionmystique@gmail.com>
- Date
- Jan 19, 2017, 08:42 UTC
- Message-ID
- <CAKcFC3aHZP5-MJaNj4vv_qBwY3xNRodYnfw0P-G-Q+XfaRf=Cw@mail.gmail.com>
- In-Reply-To
- <CAKcFC3ZN+=o_2t4AawCE0c4Tw+t_XJKTHtEq9d7bv-ht5euPbw@mail.gmail.com>
Also some context information: Ubuntu 16.10 4.8 git 2.11.0
On Thu, Jan 19, 2017 at 9:32 AM, jean-christophe manciot <actionmystique@gmail.com> wrote:
Show 43 quoted lines
> In case you were wondering whether these files were tracked or not: > > git-Games# git ls-files Ubuntu/16.04 > Ubuntu/16.04/residualvm_0.3.0~git-1_amd64.deb > Ubuntu/16.04/scummvm-data_1.8.0_all.deb > Ubuntu/16.04/scummvm-data_1.9.0_all.deb > Ubuntu/16.04/scummvm-dbgsym_1.8.2~git20160821.bad86050_amd64.deb > Ubuntu/16.04/scummvm-dbgsym_1.9.0_amd64.deb > Ubuntu/16.04/scummvm_1.8.0_amd64.deb > Ubuntu/16.04/scummvm_1.9.0_amd64.deb > > On Tue, Jan 17, 2017 at 4:30 PM, jean-christophe manciot > <actionmystique@gmail.com> wrote: >> Hi there, >> >> 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/' >> >> git does not find the folder although it's there: >> >> git-Games# ll Ubuntu/16.04/ >> total 150316 >> drwxr-x--- 2 actionmystique actionmystique 4096 Nov 19 13:40 ./ >> drwxr-x--- 4 actionmystique actionmystique 4096 Oct 30 14:02 ../ >> -rwxr-x--- 1 actionmystique actionmystique 2190394 May 9 2016 >> residualvm_0.3.0~git-1_amd64.deb* >> ... >> -rw-r--r-- 1 actionmystique actionmystique 67382492 Oct 13 09:15 >> scummvm-dbgsym_1.9.0_amd64.deb >> >> What is going on? >> >> -- >> Jean-Christophe > > > > -- > Jean-Christophe
-- Jean-Christophe