I am having a dilemma right now regarding storing images:
- right now my project has just started.
- During the first few development iterations, I am seeing that there will be lots of change request on the gui of my project especially the images and icons.
I would like to check them in only if it comes to a point that the requests are very minimal. with this, I don't like my git repository to be cluttered with images since I have images that are in megabytes in size.
Currently, what I am doing is include almost everything except binaries, object files and images to my git repo.
Then every week, I do a full zip backup of everything.
What I would like to ask is, if there is a way to put files in git without versioning?
I know it defeats the purpose of git but the size of the git repo can be controlled with this way.
To illustrate:
- I have
pic1.jpg
. I would like to put it into git. - if I will replace
pic1.jpg
with another image but with the same filename, it will just overwrite thepic1.jpg
and don't do version backups.
This way the git repo will dramatically increase in size.
This may sound dangerous, but from what I have learned from git is that if you committed a file into it, it will stay there forever.
There is another solution I think of: The project will be fully zipped and placed inside a dropbox and the developer who is new to the project will get it from the dropbox, extract, do a git fetch, then merge.
I hope someone could share their experience/expertise regarding this.