S
S
Sergey Goryachev2019-01-21 14:42:34
git
Sergey Goryachev, 2019-01-21 14:42:34

How good is it to keep ALL project files in Git?

Actually, the question is, let's say I work from 3-4 places.
And you always need to have full access to the project, but as a rule - the project is not only cms with gulp.
But also a bunch of any printing garbage, corporate identity, logos.
Yes, and often galleries of 100,500 photos.
(recent project - the customer uploaded professional photos for the site, 50 pieces, 10-20 meters each).
And all this must be at hand.
Actually, I have been using the git for a long time, but only in development, without "working" folders with materials.
How good will it be to shove absolutely everything into the git.
The size of the repository can grow a lot due to garbage storage.
If not good, then how to organize better.
The cloud is inconvenient, due to the fact that the file is in a different area and constantly monitor the relevance (whether the photos are preserved or whether I put the logo there).
For exactly the same reason, I don’t use a flash drive or an external drive, all the more you can stupidly forget it.
Or let's return to development in a year, and all the files in one turnip, it's convenient.
And if everything is in different places, then it can easily be lost, cleaned.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Mirilaczvili, 2019-01-21
@webirus

Google: git lfs
But it depends on where the repository is hosted.

A
Arthur Mustafin, 2019-01-21
@virtual_hack2root

Within the limitations you specified:
- "everything should be at hand",
- "the cloud is inconvenient"
I suppose that you'd better create a separate repository (subrepository) with third-party resources for your project.

S
stratosmi, 2019-01-21
@stratosmi

Turnip - needed for the history of changes , for branches, etc.
Extremely useful for team work.
To work in one - less useful.
To organize work in different places, some kind of synchronization with the cloud or SyncThing is quite enough.
However, purely organizationally, it may be more convenient to do git pull and git push every time than to rely on synchronization, which does not yet know when to complete.
Git allows very large turnips:
https://habr.com/en/company/everydaytools/blog/329878/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question