Question

Doubts about installing Git and GitLab

Posted August 2, 2014 2.8k views

Hi! I have currently a droplet with Ubuntu 14 and WordPress installed. I started to develop more and more themes that I need to version control.

My doubts are, the git repository have to be on the same server that my wordpress install? or I have to create a new droplet?
If a create a new droplet, I can do one-click install of GitLab, but GitLab include Git or I have to install it?

Thanks in advance.

Laura

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
  1. No, the git repository would technically reside within your Gitlab build, on another server. You would have an instance of the repository on your wordpress server, but the versioning would be done by the Gitlab instance.
  2. The Gitlab image ships with everything you need, including git. But you’ll need to install git on your wordpress server, if it isn’t already. See this tutorial on how to get git up and running on your wordpress server.

https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-14-04

by Justin Ellingwood
Git is a powerful distributed version control system that can be used to track software development projects and other information. In this guide, we'll demonstrate a few different ways to install git on an Ubuntu 14.04 server and how to get started.
Submit an Answer