Solved

Include Images in Git Version Control?

Posted on 2014-04-14
4
438 Views
Last Modified: 2014-05-04
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?
0
Comment
Question by:sandshakimi
  • 2
4 Comments
 
LVL 42

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 334 total points
Comment Utility
They're handled no differently than normal files as long as they're under the .git folder
0
 

Author Comment

by:sandshakimi
Comment Utility
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?
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 166 total points
Comment Utility
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.
0
 
LVL 42

Accepted Solution

by:
Chris Stanyon earned 334 total points
Comment Utility
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
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now