user892134
user892134

Reputation: 3224

Getting started with Git on live website server

I have a website and I currently use FTP to upload files. I now want to implement Git version control. I downloaded Git for Windows.

Or

Do I need to install anything on the live server?

I already know about git commit, git push origin but difficulty understanding how to connect to live website server.

Upvotes: 0

Views: 515

Answers (2)

C. Augusto Proiete
C. Augusto Proiete

Reputation: 27818

Not sure why you would want to do that, when you can have private Git repositories for free on BitBucket, or pay 10 bucks/month for private Git repositories on GitHub.

--

But yes, if you really want to host on your own server, you will need to install a software on the server that will handle requests/responses - a Git server.

You can start by reading Chapter 4 of the Pro Git book.

You may also want to look at the products below (in no particular order), which you could install on your server.

Upvotes: 1

amanpurohit
amanpurohit

Reputation: 1296

It depends on the hosting service that you are using. If you are using a shared hosting platform, it might cause some problem. But yes you can deploy your website to a live server by installing git on your server. Some Repo Hosting Providers : Beanstalk, Heroku, Github Pages(Static websites).

Upvotes: 0

Related Questions