Report this

What is the reason for this report?

Why install git on a vps?

Posted on June 8, 2013

I was surprised to see instructions for installing git on the vps in the community section and in the articles about how to use git effectively-- https://www.digitalocean.com/community/articles/how-to-use-git-branches-- it assumes that we are using git on our local machine and pushing to a remote server.

So I also installed git on my vps, because there were instructions to do so, but I don’t understand why I’d want or need it there, unless I was developing on the remote server. Is anyone doing that?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I have git installed on my VPS to easily deploy apps. I simply do ‘$ git pull’ and my app is up-to-date.

Thanks, can you explain the steps you took to set that up so it pulls from your local machine?

You can also push from your local machine quite easily.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.