Solved

Include Images in Git Version Control?

Posted on 2014-04-14
4
458 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 43

Assisted Solution

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

Author Comment

by:sandshakimi
ID: 40004989
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 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 166 total points
ID: 40005241
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 43

Accepted Solution

by:
Chris Stanyon earned 334 total points
ID: 40005370
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

738 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