Gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag #mirrorlist = file:///etc//mirrors-rpmforge The file looks like this: # Name: RPMforge RPM Repository for RHEL 6 - dag Edit /etc//rpmforge.repo and change enabled = 0 to enabled = 1 under. Then you need to enable the rpmforge-extras. Other than manually downloading and installing the latest version of get, you can also accomplish this by adding a new repository to yum.ĭownload and install the rpmforge repository: # use this for 64-bit If you are only using the default settings, when you try to install git you will get version 1.7.1. the update command is as followsĪs JERC said, make sure you have an updated version of git. TLS disabled due to previous handshake failureĪfter upgrading curl, libcurl and nss, git clone works fine again, so here it is.CAfile: /etc/pki/tls/certs/ca-bundle.crt.Initializing NSS with certpath: sql:/etc/pki/nssdb.Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftpįeatures: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz Initialized empty Git repository in /home/techops/pyenv/.git/Įrror: while accessing HTTP request failedĬurl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 If not, you probably still have the old version first in line from bash’s path.I met the same problem, the error message and OS info are as follows git-2.9.5Īt this stage you should be able to run the version check again and see the new version. Go into the new directory and run the following commands: cd. Replace my example versions with whatever you actually download. On my CentOS 7 server i had Git version “1.8.3.1”.ĭownload Git from “ “. Don’t worry, you don’t have to remove it. Check by issuing the command that follows. You’ll probably already have Git installed. You need to download and install Git manually. This article explains how to get the right version. Bitbucket from Atlasian needs a version of Git above whatever Redhat/CentOS give us.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |