Skip to content

Instantly share code, notes, and snippets.

@ainoya
Created October 4, 2014 23:49
Show Gist options
  • Save ainoya/1b99f7f16a72609a3f13 to your computer and use it in GitHub Desktop.
Save ainoya/1b99f7f16a72609a3f13 to your computer and use it in GitHub Desktop.
update git
#!/bin/sh
rpm -i 'http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm'
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
yum -y --enablerepo=rpmforge-extras update git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment