Using git for a large website

I am looking for some tips on how to use git for a website with lots of html content.

We have 2 content managers who perform basic html coding and upload their work to the server. I am the only developer.

The site is fairly divided between the two types of content. Firstly, this is news content that is published in the database and displayed on the entire site. The other half of the content is in html. The site uses a template system, and all html pages are only part of the page content. The template system adds header, footer, and navigation. The site as a whole is about 3.5 GB (we have a lot of PDF files and images).

First question: if I dump all this on git, what will happen? I have a feeling that the first time everything will be fine, but as the changes are made and the site grows, will the git repo reach an unmanageable one?

Secondly, because of the template system, content managers cannot view their work on their local machines without fully configuring the web server. I would like to avoid this if possible. I have a test server in the office, but I can’t figure out how to get git gui to run on the local machine, but refer to the remote server. Simple execution git guiover ssh returns an error and will not teach them all git commands.

Any suggestions would be very helpful. We are not currently using any version control, and this is a mess. People constantly rewrite each other, and we don’t have an easy way to transfer changes from a test server to a production server.

+5
source share
2 answers

. git " " 5.9G 57k. 3.6G (git ). , , , , - , . , , ( ) ( 10 20 ). , .

git gui. , - git -.

+6

(, Git), Mercurial (hg). Git, , , . Git, , , .

Mercurial Windows - TortoiseHG, HG , .

, ​​Linux Git, Java 7 JDK Mercurial, .

0

All Articles