Author:
erics , June 17th, 2021
To update your git user name and email address for all repos:
git config -- global user . name "Your Name"
git config -- global user . email "yourName@theDomain.com"
To update your git user name and email address for a specific repo:
cd repo
git config user . name "Your Name"
git config user . email "yourName@theDomain.com"
Categories: How-To's , Technology Tags: Change , Email , git , Global , howto , local , name , Repo , repository , tips , user.email , user.name
| No comments
Author:
erics , November 21st, 2012
Do it locally:
git branch - d yourBranchName
Deleted branch yourBranchName (was 340c10d). Do it remotely, and please note the : below! (replace origin with your repo, if different)
git push origin : yourBranchName
To git.yourServer.com:/repos/yourProject.git – [deleted] yourBranchName
git push origin -- delete yourBranchName
Categories: How-To's , Technology Tags: Branch , Delete , git , howto , Push , Remove , Repo , tips
| No comments
Author:
erics , December 30th, 2011
yum -- enablerepo = epel install perl - Net - Amazon - EC2 perl - File - Slurp perl - DBI perl - DBD - MySQL perl - Net - SSLeay perl - IO - Socket - SSL perl - Time - HiRes perl - Params - Validate ca - certificates
wget - O / opt / aws / bin / ec2 - consistent - snapshot http : //bazaar.launchpad.net/~alestic/ec2-consistent-snapshot/trunk/download/head:/ec2consistentsnapsho-20090928015038-9m9x0fc4yoy54g4j-1/ec2-consistent-snapshot
chmod 0775 / opt / aws / bin / ec2 - consistent - snapshot
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/
Categories: How-To's , Technology Tags: Amazon , Amazon Linux , AWS , CentOS , chmod , consistent-snapshot , EC2 , ec2-consistent-snapshot , EPEL , howto , Linux , perl , Repo , Snapshot , tips , wget , Yum
| No comments
Author:
erics , October 24th, 2011
The below worked for me…
# yum repolist
# yum install git --disablerepo=epel
Here are the errors I was getting:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
root @ dev : / root # yum install git
Loaded plugins : fastestmirror , security
Loading mirror speeds from cached hostfile
* epel : mirror . symnds . com
amzn | 2.1 kB 00 : 00
Setting up Install Process
Resolving Dependencies
-- > Running transaction check
-- -> Package git . x86 _ 64 0 : 1.7.4.1 - 1.el5 set to be updated
-- > Processing Dependency : perl - Git = 1.7.4.1 - 1.el5 for package : git - 1.7.4.1 - 1.el5.x86_64
-- > Processing Dependency : perl ( Error ) for package : git - 1.7.4.1 - 1.el5.x86_64
-- > Processing Dependency : perl ( Git ) for package : git - 1.7.4.1 - 1.el5.x86_64
-- > Processing Dependency : libcurl . so . 3 ( ) ( 64bit ) for package : git - 1.7.4.1 - 1.el5.x86_64
-- > Running transaction check
-- -> Package git . x86 _ 64 0 : 1.7.4.1 - 1.el5 set to be updated
-- > Processing Dependency : libcurl . so . 3 ( ) ( 64bit ) for package : git - 1.7.4.1 - 1.el5.x86_64
-- -> Package perl - Error . noarch 1 : 0.17015 - 4.4.amzn1 set to be updated
-- -> Package perl - Git . x86 _ 64 0 : 1.7.4.1 - 1.el5 set to be updated
-- > Processing Dependency : perl ( : MODULE_COMPAT_5 . 8.8 ) for package : perl - Git - 1.7.4.1 - 1.el5.x86_64
-- > Finished Dependency Resolution
Error : Package : git - 1.7.4.1 - 1.el5.x86_64 ( epel )
Requires : libcurl . so . 3 ( ) ( 64bit )
Error : Package : perl - Git - 1.7.4.1 - 1.el5.x86_64 ( epel )
Requires : perl ( : MODULE_COMPAT_5 . 8.8 )
You could try using -- skip - broken to work around the problem
You could try running : rpm - Va -- nofiles -- nodigest
Categories: How-To's , Technology Tags: Amazon , AWS , CentOS , EPEL , git , howto , Linux , perl , Repo , repolist , tips , Yum
| 11 comments
Author:
erics , 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 […]
Categories: How-To's , Technology Tags: enablerepo , howto , perl , Remi , Repo , tips , vi , vim
| No comments
Author:
erics , September 4th, 2011
/etc/yum.repos.d # yum –releasever=5 search {package name here}
Categories: How-To's , Technology Tags: CentOS , howto , mysql , RedHat , release , release version , releasever , Remi , Repo , RHEL , tips , Yum
| No comments
Author:
erics , 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.
rpm - Uvh http : //download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Categories: Technology Tags: Amazon , AMI , AWS , EPEL , howto , Repo , tips , Yum
| No comments