Jump to content


Photo

Git on cPanel


  • Please log in to reply
7 replies to this topic

#1 dmcglone

dmcglone

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts
  • LocationColumbus, Ohio

Posted 23 May 2013 - 06:46 PM

Hello all, I am in need of a Git or CVS for my projects, but I don't know where to start. I'm not even sure if it's possible to install Git on my shared hosting that uses cPanel. Anyone have any tips or advise?


Blessings,
David M.

#2 KevinM1

KevinM1

    Snarkimus Prime

  • Moderators
  • 5,196 posts
  • LocationNew Hampshire, USA

Posted 23 May 2013 - 07:19 PM

Why can't you just use git on your dev machine and push to either GitHub or BitBucket?

#3 xenLiam

xenLiam

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationManila
  • Age:16

Posted 23 May 2013 - 09:47 PM

I don't think you can install Git on a shared hosting environment. You would need root access to install the git binaries alone.


Lives by faith, thinks by logic.


#4 dmcglone

dmcglone

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts
  • LocationColumbus, Ohio

Posted 24 May 2013 - 08:53 PM

Why can't you just use git on your dev machine and push to either GitHub or BitBucket?

I was thinking easier updating of websites that I work on for people, because lately it's started to become a hassle remembering what has been changed and what needs uploading via ftp. But last night I spoke to my hosting provider and they are putting me on a new server tonight with Git and retiring my current server, so I should have Git by tomorrow morning. :-)


Blessings,
David M.

#5 dmcglone

dmcglone

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts
  • LocationColumbus, Ohio

Posted 24 May 2013 - 08:56 PM

True xemLiam, they are going to do it for me :-)


Blessings,
David M.

#6 ankur0101

ankur0101

    Advanced Member

  • Members
  • PipPipPip
  • 243 posts
  • LocationMumbai, India

Posted 15 July 2013 - 10:27 AM

With controlled SSH, we can use git server. Example : fortrabbit.com



#7 Adam

Adam

    Advanced Member

  • Gurus
  • 5,683 posts
  • LocationSheffield / UK

Posted 15 July 2013 - 03:56 PM

I would imagine that your shared hosting provider will only be installing the Git client, not the server. You still need a Git server, like GitHub, BitBucket, or Gitosis installed locally.

#8 trq

trq

    Advanced Member

  • Administrators
  • 30,904 posts
  • LocationSydney, Australia.

Posted 15 July 2013 - 05:27 PM

I would imagine that your shared hosting provider will only be installing the Git client, not the server. You still need a Git server, like GitHub, BitBucket, or Gitosis installed locally.

There is no such thing as a git server. Typically you access git repositories via ssh. Github and the like are just web interfaces to a git repository. You still push via ssh (or https if you wish).


http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com