Category Archives: git

Review a git branch in the terminal

When I review a pull-request with many commits, I want to be able to see all the commits and step back and forth through them. I used to use a git GUI (or github's web pages), but I hated having to leave the terminal to do that. Today I whipped up a Perl program to […]

Also posted in perl programming | Tagged , , , , | Comments closed

How I've started managing GitHub pulls

I don't like GitHub's pull interface. They make merge commits, which suck. And I want to work from the command line, not the web site. When I noticed that I was losing on the scoreboard, I wrote a quick and dirty script to list open pull requests for a repository from the command line: github-list-pulls. […]

Also posted in perl programming | Tagged , , , | Comments closed

The GitHub pulls scoreboard says I'm losing

I'm embarrassed to admit that I just fixed a bug, shipped the module, and then discovered a 2-year old pull request that fixed it better. Oops. I hate things like that! Fortunately, I just discovered that GitHub offers a pull request scoreboard with two views: Pulls sent: https://github.com/dashboard/pulls Pulls pending: https://github.com/dashboard/pulls/public Unfortunately, the scoreboard says […]

Also posted in perl programming | Tagged , , , , | Comments closed

How to move CPAN RT tickets to Github

Most of my new CPAN modules use Github for issue tracking because of the nice integration with pull requests. I recently wanted to migrate an older distribution to using Github, but didn't want to track tickets in two places. A while ago, Yanick Champoux wrote Bandying tickets from RT to Github, which looked like exactly […]

Also posted in perl programming | Tagged , , , , | Comments closed

How to script git with perl and Git::Wrapper

If you work with git, eventually you will want to script something that git doesn't do already and can't be accomplished with an alias. If you use Perl, the Git::Wrapper module makes scripting git easy. The big advantage of Git::Wrapper is that it wraps the binary version of git, which keeps your perl and git […]

Also posted in perl programming | Tagged , | Comments closed

© 2009-2015 David Golden All Rights Reserved