OPI Blog
Learn from experts in their fields

Browsing Tags: git

Jul 17, 2018
Using Git within Gradle
I had a task to have a Gradle build look at the Git branch name and set a different variable based on what branch was. I could have made a system call to git but ...
Jun 23, 2015
Getting smarter with git
I generally do all my work with git on the command line — sometimes I do commits in my IDE but all my pushes, pulls, merges, and looking at history is done on the command ...
Mar 24, 2015
Goodbye Google Code
Google Code is shutting down (because everyone uses github anyway) So long and thanks for all the fish.  It has been a good ride — thank you for pushing open collaboration forward! Its been a good ...
May 15, 2014
Automatically test your dirty Grails classes
Summary When refactoring code in bulk, I occasionally run into a scenario where it’s simpler to make the change all at once and run the tests afterwards than it is to test after every iteration ...
Mar 11, 2014
Finding a Buggy Commit Using ‘git bisect’ and ‘curl’ #git
I was tasked with fixing a bug that looks like it was introduced some time ago. The bug was in an unfamiliar area of the code. Although I thought I found the problem, I wanted ...
Feb 11, 2014
Recovering a commit from Github’s Reflog
This morning when I arrived to work I was presented with a very interesting Git/Github problem by a co-worker. He had pushed a commit from his home computer last night and this morning he had ...
Feb 4, 2014
Getting started with git svn
If you are familiar with git and have used it, you already know the power you get with it. If you are using SVN, you should take git for a spin and see how it ...
Apr 28, 2011
Helpful git-svn cheatsheet
In my previous post "A successful git-svn workflow", I wrote about starting out with git-svn. This post is a followup with notes on more advanced topics....
Mar 17, 2011
A Successful git-svn Workflow
Back in the days of CVS and Clearcase I definitely thought Subversion was a clear improvement, but then git and distributed version control had to come alone and ruin it all for me. When I heard that you could use git as a svn client, I was intrigued and gave it a fair chance. This is the workflow that I've found to be most harmonious with me and my coworkers didn't even need to know I was using git this way :-) ...
Mar 11, 2011
Why GIT: Local Developer Branches
A common quote I hear quit often regarding Git is: “It looks cool but it seems too complicated and Subversion meets my needs just fine.” On the surface this is a valid statement on both ...