我的SVN项目文件比较大,几个G,我想把这些代码全部放到github等代码托管网站,如何做呢?
phpcn_u1582
phpcn_u1582 2017-04-28 09:05:14
0
8
905

我的SVN项目文件比较大,几个G,我想把这些代码全部放到github等代码托管网站,如何做呢?

phpcn_u1582
phpcn_u1582

reply all(8)
巴扎黑

There must be binary files stored in it. I’m not sure about your project directory, but I recommend trying the following:
Select some meaningful folders and convert them into GIT projects. After all, your project has several gigabytes. I suspect it is because the functions have not been split.

漂亮男人
  1. Try to filter out those intermediate files and only keep the source code and build script
  2. Make it as modular as possible, and then divide it into specific warehouses through modules, and then use version control management
刘奇

A project of several gigabytes is quite large, and it should contain a bunch of video, sound, and image resource files. Omit what you can and keep the core things.

巴扎黑

I also kneeled down for a few G’s~~
It is recommended to set up a git warehouse on the company's intranet. You can choose the gitlab official website address, which is safe, fast and convenient (after all, there are still many intranet penetration accidents because the developer's username and password are written in the code...)
If you choose to open source some of the code, pull it out and push it to github separately:)

我想大声告诉你

github is also very slow

Peter_Zhu

Your project won’t be a product prototype, right? Please use other types for version control

Ty80

Only leave the core code, because everyone’s project deployment is different, but the core code is the same.

世界只因有你

A few gigabytes are quite a stretch. Are there too many log files and binary files? These files can be ignored. If the core code is calculated in G, the project is quite huge, probably at the Facebook level

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template