Skip to main content

Any way to update GIT to 1.9, 2.0 or up?

Comments

4 comments

  • dalem
    git --version git version 2.17.0 cpanel all ready installs git 2 the centos/redhat version is 1.8 not really a cpanel issue the default git uses cpanel's version @ /usr/local/cpanel/3rdparty/lib/path-bin/git
    0
  • cPanelMichael
    Hello @Kent Brockman, @dalem is correct. If you prefer to use the version of Git included with cPanel & WHM, then you'd need to remove the operating system RPM for git, and then run the following command: /usr/local/cpanel/scripts/link_3rdparty_binaries
    Thank you.
    0
  • Kent Brockman
    So, "yum remove git" then /usr/local/cpanel/scripts/link_3rdparty_binaries and then what?
    0
  • cPanelMichael
    So, "yum remove git" then /usr/local/cpanel/scripts/link_3rdparty_binaries and then what?

    Hello @Kent Brockman, No further steps are required. The /usr/local/cpanel/scripts/link_3rdparty_binaries script will link the cPanel-provided instance of Git to the system libraries: # /usr/local/cpanel/scripts/link_3rdparty_binaries Linking /usr/bin/git -> /usr/local/cpanel/3rdparty/bin/git Linking /usr/bin/git-receive-pack -> /usr/local/cpanel/3rdparty/bin/git-receive-pack Linking /usr/bin/git-shell -> /usr/local/cpanel/3rdparty/bin/git-shell Linking /usr/bin/git-upload-archive -> /usr/local/cpanel/3rdparty/bin/git-upload-archive Linking /usr/bin/git-upload-pack -> /usr/local/cpanel/3rdparty/bin/git-upload-pack
    Thank you.
    0

Please sign in to leave a comment.