[{"data":1,"prerenderedAt":274},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2011\u002F08\u002F15\u002Fgit-attributes-and-diffing-binary-files\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":262,"date":263,"description":264,"embedImage":262,"extension":265,"image":262,"intro":262,"meta":266,"navigation":267,"path":268,"seo":269,"series":262,"sitemap":270,"stem":271,"tags":272,"__hash__":273},"content\u002F2011\u002F08\u002F15\u002Fgit-attributes-and-diffing-binary-files.md","Git attributes and diffing binary files",{"type":208,"value":209,"toc":259},"minimark",[210,224,227,230,241,244,250,253],[211,212,213,214],"p",{},"Came across this on ",[215,216,223],"a",{"href":217,"rel":218,"target":222},"http:\u002F\u002Fprogit.org\u002Fbook\u002Fch7-2.html",[219,220,221],"nofollow","noopener","noreferer","_blank","Pro Git 7.2 Customizing Git Git Attributes",[211,225,226],{},"You can use git attributes to allow for customized diff of binary files.",[211,228,229],{},"My current additions to my global git config are",[231,232,237],"pre",{"className":233,"code":235,"language":236},[234],"language-text","git config --global diff.strings.textconv strings\ngit config --global diff.exif.textconv exiftool\n","text",[238,239,235],"code",{"__ignoreMap":240},"",[211,242,243],{},"Then in projects (either .gitattributes or .git\u002Finfo\u002Fattributes depending on whether you want it checked in or not):",[231,245,248],{"className":246,"code":247,"language":236},[234],"*.\u003Cext> diff = \u003Cdiffname>\n",[238,249,247],{"__ignoreMap":240},[211,251,252],{},"For example",[231,254,257],{"className":255,"code":256,"language":236},[234],"*.png diff = exif\n*.jpg diff = exif\n*.doc diff = strings\n",[238,258,256],{"__ignoreMap":240},{"title":240,"searchDepth":260,"depth":260,"links":261},2,[],null,"2011-08-15 08:47:49 +0200","Came across this on Pro Git 7.2 Customizing Git Git Attributes","md",{},true,"\u002F2011\u002F08\u002F15\u002Fgit-attributes-and-diffing-binary-files",{"title":206,"description":264},{"loc":268},"2011\u002F08\u002F15\u002Fgit-attributes-and-diffing-binary-files",[],"S-WUwnE8cp9_qPIJeZLbuQBk5z5A3974OBPDAf4k9O8",1775293013664]