Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Thursday, March 21, 2013

Delete Git branches (local or remote)

git fetch -p # sync local branches with remote
git branch -D my_branch # Local delete
git push origin :my_brach # remove branch remotely

Thursday, August 11, 2011

Git on RHEL/CENTOS

Git is not available in RHEL repository. Use the following commands to install it.

rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

yum install git