made my day

Right below the “Changes to be committed” text, it says “use git reset HEAD … to unstage”. So, let’s use that advice to unstage the benchmarks.rb file: $ git reset HEAD benchmarks.rb benchmarks.rb: locally modified $ git status # On branch master # Changes to be committed: # (use “git reset HEAD …” to unstage) […]

install latest git on centos 6.4

First of all you need an rpmforge repository installed on your system. Than you should enable rpmforge-extras repo. yum provides git In output you will find something like Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: ftp.colocall.net * epel: ftp.colocall.net * extras: ftp.colocall.net * rpmforge: apt.sw.be * rpmforge-extras: apt.sw.be * updates: […]

git over smart-http with https secured by openldap on Centos

# git –version git version 1.7.1 # apachectl -v Server version: Apache/2.2.15 (Unix) My repos will located at /opt/data/repo named “repo1” and “repo2” mkdir /opt/data/repo #create first repo git init –bare repo1 cp repo1/hooks/post-update.sample repo1/hooks/post-update chmod +x repo1/hooks/post-update chown -R apache:apache repo1/ #create second repo git init –bare repo2 cp repo2/hooks/post-update.sample repo2/hooks/post-update chmod +x repo2/hooks/post-update […]

SSL certificate reject git over HTTPS

git clone REPOSITORY fatal: HTTP request failed Two solutions: git config –global http.sslVerify false export GIT_SSL_NO_VERIFY=true via http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall