On Fri, Jul 10, 2020 at 7:33 AM Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote: > > $ git rm -f --cached myfile # many thanks to @jast on IRC #git > Why do you need -f? If the existing file has been modified, with 'rm' the '--cached' option doesn't remove it from Git unless one uses the '-f' option with it. -Tom