Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

git command on server is /usr/local/cpanel/3rdparty/bin/git #355

Closed
sharpmachine opened this issue Dec 5, 2015 · 4 comments
Closed

git command on server is /usr/local/cpanel/3rdparty/bin/git #355

sharpmachine opened this issue Dec 5, 2015 · 4 comments

Comments

@sharpmachine
Copy link

To run git on my server I have to run the command: /usr/local/cpanel/3rdparty/bin/git.

So when I run mina deploy I get back git: command not found.

I've set up git as an alias so when I'm ssh'd in I can run git and it works. However when using Mina it doesn't. How can I Mina to work for me?

Thanks.

@heliohead
Copy link

Make a symbolic link point /usr/local/cpanel/3rdparty/bin/git to /usr/local/bin if you have a root access.

Probaly will work

@d4be4st
Copy link
Member

d4be4st commented Jul 8, 2016

you need to install git on your server

@d4be4st d4be4st closed this as completed Jul 8, 2016
@lupetalo
Copy link

lupetalo commented Oct 5, 2016

ln -sfv /usr/local/cpanel/3rdparty/bin/git git
Does not work...
it outputs:
``git' ->/usr/local/cpanel/3rdparty/bin/git'
but i can execute`/usr/local/cpanel/3rdparty/bin/git`but i can't only`git`

@phgeek
Copy link

phgeek commented Oct 12, 2017

To add 3rdparty/bin to PATH variable run:
$ export PATH=$PATH:/usr/local/cpanel/3rdparty/bin

In order to make it permanent adds this line to .bash_profile
$ echo export PATH=$PATH:/usr/local/cpanel/3rdparty/bin >> ~/.bash_profile

Now you can run just $ git

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants