Git-Fu Advice

Now who would have thought, I start blogging about git and people have advice. This post isn’t just my personal learning but also some advice I received from others! git reset HEAD^ From Alexis: Something I’m doing a lot is when I mess up with git, I sometimes need to uncommit something but keep the changes I had just before the commit. git add -i From Alexis: “Use this…” Brief but powerful advice. I never thought of using the interactive mode personally but if you are doing a complex commit or want to double over your work git’s interactive mode is fairly robust. ...

September 11, 2012 · 2 min · Ame the Squirrel

Fun with Git, Jenkins, & Nagios

Welcome to another edition on how to automate the hell out of your workflow. Preface One thing I have been addicted to since I learned it was source control. I don’t understand how some developers work without it… and I really don’t understand how any syadmins live without it. I have actually found it more useful as a sysadmin as a programmer, but only because at my day job I have used it in most of our major configs. Putting our 400+ file bind setup in subversion and using hooks to test and deploy our changes was not only a massive time saver but tail saver as well. ...

September 7, 2012 · 11 min · Ame the Squirrel

Honing my Git-Fu Part 1

Backstory My git-fu sucks. I have to use an awesome git tool called SourceTree to do the git wizardry that I do. It’s totally free and for the Mac so if you want to just jump into git and have expert features clicks away go download this. I bought it back when it cost money but now you can have it for free. I’ll wait… Anyways, I’ve been rolling around in the lap of GIT/SourceTree luxury these past months; clicking away and using features I only wished SVN could ever touch. However when jumping around between machines and VMs it would be faster to just use the command line. Now a days I’m now on the development team of a well sized open source project and having to fumble around git & github while testing submissions and making patches to help other people test is just NOT COOL. I think it all came to a head when the main project maintainer started flaunting some of his git-fu when submitting and fixing patches… well honestly since I just love cramming as much into my head as possible I thought I would hone my git foo. ...

August 29, 2012 · 5 min · Ame the Squirrel