How To Change Your GIT Name and Email Address Globally and Per Repository

Author: , June 17th, 2021

To update your git user name and email address for all repos:

To update your git user name and email address for a specific repo:

How To Delete a Branch from a Remote Repo in GIT

Author: , November 21st, 2012

Do it locally:

Deleted branch yourBranchName (was 340c10d). Do it remotely, and please note the : below! (replace origin with your repo, if different)

To git.yourServer.com:/repos/yourProject.git – [deleted] yourBranchName

How To Install ec2-consistent-snapshot On AWS/CentOS

Author: , December 30th, 2011

http://alestic.com/2009/09/ec2-consistent-snapshot http://www.thatsgeeky.com/2011/05/ec2-consistent-snapshot-on-amazons-linux-ami/ http://www.thatsgeeky.com/2011/06/rotating-ebs-snapshots-ec2-prune-snapshots/

How To Fix git Install Errors On CentOS

Author: , October 24th, 2011

The below worked for me…

Here are the errors I was getting:

How To Enable A Repo Using Perl

Author: , September 4th, 2011

Normally, I have to specify the desired repo on the command line: yum –enablerepo=remi,remi-test install {package name here} To enable the Remi repo so you do not have to specify it on the command line: # perl -pi -e ‘s/enabled=0/enabled=1/g’ /etc/yum.repos.d/remi.repo To disable the Remi repo so you do not have to specify it on […]

How To Get yum To Use A Different Release Version

Author: , September 4th, 2011

/etc/yum.repos.d # yum –releasever=5 search {package name here}

How to Add EPEL Repo to Amazon Linux AMI for Yum

Author: , November 30th, 2010

UPDATE: From the AWS FAQ: How do I enable the Extra Packages for Enterprise Linux (EPEL) repository? Edit /etc/yum.repos.d/epel.repo, look under the section marked [epel], and change enabled=0 to enabled=1. To temporarily enable the EPEL 6 repository, use the yum command line option –enablerepo=epel.