Comment supprimer l'historique GIT pour un fichier
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
Defiant Dugong
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
$ git rm --cached giant_file
// Stage our giant file for removal, but leave it on disk
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
nkjdf nkjd fsdfkk sdnfkjnsdf dkfn dskfjnsd
f dfnkjsd nfkdsnfk ndsf dsfds
f sd fdsfdsf
sf sddsfdsfd