windows - Git says "Binary files a... and b... differ" on for *.reg files -
is there way force git in treating .reg
files text? using git track windows registry tweaks , windows uses .reg
these files.
update 1: got run diff (thanks, andrew). however, looks below. encoding issue?
index 0080fe3..fc51807 100644 --- a/install on rebuild/4. registry tweaks.reg +++ b/install on rebuild/4. registry tweaks.reg @@ -1,49 +1,48 @@ -<ff><fe>w^@i^@n^@d^@o^@w^@s^@ ^@r^@e^@g^@i^@s^@t^@r^@y^@ ^@e^@d^@i^@t^@o^@r^@ -^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@;^@; -^@^m^@ ...
any ideas?
update 2: helped: here's did in end: create file .gitattributes
content *.reg text diff
, converted files utf-8 utf-16 weird diffs. i'm not using foreign characters utf-8 works me.
to tell git explicitly diff filetype, put following in .gitattributes
file in repository’s root directory:
*.reg diff
Comments
Post a Comment