Question

Why install git on a vps?

  • Posted 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?

Subscribe
Share

Submit an 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.

@m73mitchell, <br> <br>Check out <a href=“https://netbeans.org/kb/docs/ide/git.html”>NetBeans IDE</a>. It’s among the most popular <a href=“http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments”>Integrated Development Environments</a> and (the best part) it’s open source.

You can also push from your local machine quite easily.

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

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