" Git "

How to use GIT to stash (backup or save) changes, compare files in stash for changes, and restore a single file from stash

So say you have software running on a server that you used “git pull” to get from a GitHub project.  You only use the software and need to make minor changes to work with your particular setup, meaning you don’t submit any updates to the GitHub project.  Well what happens when you want to update that software?  All those changes you make is going to cause issues, right?  Well maybe, but that’s where git stash will come in handy for you… (more…)

How to install Git under CentOS running cPanel

Recently when working on creating a new bash script to calculate inode usage I attempted to install Git on a CentOS 5 cPanel server and got a lot of Perl errors. After running the install command from Yum as you can see in the output below it was complaining about dependencies.

Here’s a few of the errors that I received when trying to install

(more…)