Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does it make sense to use source control to manage graphics files (e.g. PSDs & AI files)

Of course source control tools like Git, (Mercurial, SVN, etc...) can do a great job at managing source code. But I wonder, do these tools provide the developer with any advantage when used to store copies of files such as PhotoShop PSDs and Illustrator AI files? Does it make sense to use these tools with these kind of files? Would I be storing less in the repository than the sum of the file sizes of all of these files? Even though the file format of these files is only machine readable, I would expect that in for such applications, especially when dealing with vector rather than raster graphics, a small part of these files would change, and much of the rest would remain the same.

Thank you for your insight.

like image 292
John Sonderson Avatar asked Nov 07 '13 11:11

John Sonderson


People also ask

Can I use Git for Photoshop?

Git is not really suitable for graphics.

What is source control in GitHub?

Source control is a way to control changes to files and directories, so that you can keep a record of changes and recall specific versions of a file in the event you'd like to back up to an earlier time.

Is git a source control tool?

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance.


1 Answers

Git itself can manage any kind of data, provided their are not too big or to numerous.
See "git with large files" ("large" as in size or number).

Diff'ing pictures/graphics isn't a feature supported by Git natively, but a Git repo hosting service can extends its web GUI to offer such a support.

GitHub just announced (June 2014) "ePSD Viewing & Diffing", which extends their " image viewing and diffing" (Nov. 2011)

Any PSD assets in your repositories will be treated just like images, meaning you can view them inline and use our three image view modes to see what's changed in a commit.

Update Mach 2022: this is no longer supported.
See "Working with non-code files" for the files for which diff is supported.

https://cloud.githubusercontent.com/assets/2546/3165594/55f2798a-eb56-11e3-92e7-b79ad791a697.gif

like image 102
VonC Avatar answered Sep 21 '22 13:09

VonC