开发者

Using Git to manage assets/db of a project

We are implementing Git at our company and coming from SVN, I have a few architectura开发者_开发知识库l questions.

For our designers, how can they manage project assets? Documents, PDFs, PSDs, graphics? In SVN we could just make a folder called 'assets', detached from the code.

How can you do the same for a db snapshot?

I want to keep code seperate from digital assets without creating more overhead or making it complicated for our designers to version control their work.


As I understand your question, previously the assets were part of your subversion repository and designers only checked out the assets directory because they did not need the source code. The exactly same approach does not work in git because git does not support partial checkouts, so designers would have to bother checking out the source code as well, and you would like to avoid this. Right?

The best approximation of your old scheme would be to put the assets in a separate git repository and include this separate repository as a module in your source repository. Developers would have everything in one place, and designers could check out the assets only.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜