git: change file type from binary to text after the file is commited

By tonka


I have a problem with a a file in a git repo which is detect as binary and not as text (checked by git dif --stat). The project was converted from svn some years ago, so i could not really change the past. I’ve now tried to convert the file to a utf8(without bom) file, but git tells me (git dif --stat) that it is binary for git.

Is there any possibilty to change the base type of a file (text|binary) after a commit?

Source: Stack Overflow


Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273