Git bisect and Perl

Posted on August 9, 2017. Filed under: Uncategorized | Tags: , , , , |

Git bisect and Perl git bisect run treats certain exit values specially: 125 means the code cannot be tested, and 128 or higher will abort the bisect process. If Perl throws an exception it exits with 255 (instead of 0 for a pass and 1 for a test fail), aborting the bisect altogether. To fix […]

Read Full Post | Make a Comment ( Comments Off on Git bisect and Perl )

git-refresh

Posted on August 4, 2017. Filed under: Uncategorized | Tags: , , , , |

At @taustation, we use a tool called git-refresh and for months have had a perfectly clean git history. Because I'm sick of this … [messy subway map] — (((CurtisOvidPoe))) (@OvidPerl) August 4, 2017 git-refresh From comments in the above: # Regardless of the branch you are on, this code: # – stashes changes (if any) […]

Read Full Post | Make a Comment ( Comments Off on git-refresh )

Git flow meta page

Posted on December 26, 2016. Filed under: Uncategorized | Tags: , , , |

A successful Git branching model by Vincent Driessen [nvie] In this post I present the development model that I’ve introduced for some of my projects (both at work and private) about a year ago, and which has turned out to be very successful. I’ve been meaning to write about it for a while now, but […]

Read Full Post | Make a Comment ( Comments Off on Git flow meta page )

Splitting a repo based on folder?

Posted on December 17, 2016. Filed under: Uncategorized | Tags: , , , |

Splitting a repo based on folder? [reddit] I have a repo that really should have been two different repos. Each project is in it’s own folder though (and I don’t think that no modification was made to both folders at the same time). Is there a way to split out this into two repos? Splitting […]

Read Full Post | Make a Comment ( Comments Off on Splitting a repo based on folder? )

A hack for getting the email address Git will use for a commit

Posted on December 13, 2016. Filed under: Uncategorized | Tags: , |

A hack for getting the email address Git will use for a commit Suppose I have branch topic checked out. It often happens that I want to     git push origin topic:mjd/topic which pushes the topic branch to the origin repository, but on origin it is named mjd/topic instead of topic. This is a good practice […]

Read Full Post | Make a Comment ( Comments Off on A hack for getting the email address Git will use for a commit )

Another Git catastrophe cleaned up

Posted on December 13, 2016. Filed under: Uncategorized | Tags: , , |

Another Git catastrophe cleaned up My co-worker X had been collaborating with a front-end designer on a very large change, consisting of about 406 commits in total. The sum of the changes was to add 18 new files of code to implement the back end of the new system, and also to implement the front […]

Read Full Post | Make a Comment ( Comments Off on Another Git catastrophe cleaned up )

Perl Advent Calendar 2016

Posted on December 5, 2016. Filed under: Uncategorized | Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , |

Perl Advent Calendar 2016 Graphing Moose Classes Automatically – Meta::Grapher::Moose Jingle Refs, Jingle Refs, Jingle all the way – Ref::Util Benchmarking with Bencher – Bencher Yuletide Logging – Log::Any Gathering all the Presents – List::Gather Help Santa Klaus Reward Only Nice Children -Schedule::LongSteps Writing git hooks – Git::Hooks Geocoding the world at volume with open […]

Read Full Post | Make a Comment ( Comments Off on Perl Advent Calendar 2016 )

Oh shit, git!

Posted on September 9, 2016. Filed under: Uncategorized | Tags: , , , , , , , , |

Oh shit, git! Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can’t search for how to get yourself out of a mess, unless you already know the name of the thing you need to know […]

Read Full Post | Make a Comment ( Comments Off on Oh shit, git! )

Reformatting Your Codebase with git filter-branch

Posted on September 3, 2016. Filed under: Uncategorized | Tags: , |

Reformatting Your Codebase with git filter-branch Git has tonnes of great tools that can be very powerful, filter-branch is another example of this. It can be used for lots of things we won’t explore here — rather we will use it for a very specific use — filtering through the tree.

Read Full Post | Make a Comment ( Comments Off on Reformatting Your Codebase with git filter-branch )

Getting to Travis and GitHub Pages Quickly

Posted on August 13, 2016. Filed under: Uncategorized | Tags: , , , , , |

Getting to Travis and GitHub Pages Quickly Often, when I’m working locally I like to bounce right over to a GitHub repository url to check something. I ended up writing a bit of code to make this easier. While I was at it, I decided it would be nice to have the same thing for […]

Read Full Post | Make a Comment ( Comments Off on Getting to Travis and GitHub Pages Quickly )

« Previous Entries

Liked it here?
Why not try sites on the blogroll...