If you require assistance with this, remember we're here to help! Feel free to open a support ticket and we'll be glad to run these commands for you. Remote: Enumerating objects: 271307, done. Note that you can use Git itself from now onward to update Git, like so: cd /usr/local/bin/ Now confirm the version of git installed: git-2.9.5]# git -version Make install install-doc install-html install-info Now, back in the terminal, run the following commands (but change the wget url/version accordingly for the version you are installing): yum install gettext-devel -y Left-click on the tar.gz link for that version and 'Copy Link Location'. To install from the source, go ahead and log into your server via SSH as the root user.ฤก) v2.9.5.tar.gz, this is the latest version as of writing, so please check for newer releases here For most users, this is perfectly fine, but if there is some feature that you need that is only present in the later versions, you will need to install from source to have that feature. You could quickly get up and running with Git via Yum as demonstrated above, but it installs version 1.8 as of July 2019. You can now confirm git is installed: ]# git -version The steps to configure the server side of Git are as follows: Add a user to manage repositories, using the command: useradd git Assign a password to the newly created user: passwd git Log ing in as a git user: su -git Create a new empty repository: git init bare /myrepo. Git is available via yum and can be installed with 'yum install git -y': yum install git -y
0 Comments
Leave a Reply. |