DEV Community

Discussion on: I'm a Git Master, Ask Me Anything

Collapse
 
lpasqualis profile image
Lorenzo Pasqualis

Git used to be notoriously bad to manage binary files. What is the current situation with that?

Collapse
 
ericalecat profile image
Erica

You could use a .gitattributes file in the root directory of your repo to explicitly mark the file as "binary", see this link git-scm.com/book/en/v2/Customizing.... This should improve diffing!

Collapse
 
gonedark profile image
Jason McCreary

I haven't leveraged Git to manage many binary files. Maybe someone from the dev.to community could chime in on this one.