Include Images in Git Version Control?

We're standing up a Git server, and documenting best practices for our developers to use Git (first time for them).

My web designers asked if images are handled in a particular way with Git. How does that work?
Who is Participating?
Chris StanyonConnect With a Mentor Commented:
If images are part of your application then keep them with your application and include them under git control.

Images will be version controlled just as all other files will be - your application will likely have new images added / old ones deleted / existing ones updated over time, and you can keep track of all this if they're under version control
Chris StanyonConnect With a Mentor Commented:
They're handled no differently than normal files as long as they're under the .git folder
sandshakimiAuthor Commented:
I suppose you're keeping images in the .git folder as a means of keeping it bundled with the other files.

Not that images are going to be version controled. Right?
Ray PaseurConnect With a Mentor Commented:
No points for this, but why wouldn't you want the images version controlled?  If they are a part of the application, they should be.  "Fork me" should always return the right images as well as the right code.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.