How can I delete appsettings.json
file from Git history?
I have applied this command in Git:
$git filter-branch --index-filter 'git rm --cached --ignore-unmatch appsettings.json' HEAD
But It does not work with this version of Git(2.30.0.windows.1)
How can I solve it?
if I want to use git-filter-repo
instead git-filter-branch
, how can I install and use it for my case?