How to use Git on shared hosting SSH

This is actually very simple to do, all you need to do is setup an alias for git.  Login to SSH with your account and run this command:

alias git="/usr/local/cpanel/3rdparty/bin/git"

You can now run git commands :)

  • 92 Users Found This Useful
Was this answer helpful?