I want to rename a file for all the commits in git repository, here\'s what I have tried:
git filter-branch --index-filter \'git mv -k
I finally solved my original problem by using:
git filter-branch --tree-filter ' if [ -f ]; then mv fi' --force HEAD