Celebrate King's Day with TNW 🎟 Use code GEZELLIG40 on your Business, Investor and Startup passes today! This offer ends on April 29 →

This article was published on February 13, 2016

Messed up your code? Now you can just blame someone else!


Messed up your code? Now you can just blame someone else! Image by: Jay Phelps

A cheeky coder on GitHub has built the tool that could bring genuine havoc to the programming world: git-blame-someone-else.

The hack lets you not only change the person who authored the bad code in question, but also the listed committer on GitHub too.

The creator Jay Phelps says he wrote it as a joke and to prove it works, created a fake commit dressed as an approval message from the creator of Linux, Linus Torvalds

“Please don’t run this against your production repo and complain if this script deletes everything,” he said.

The <3 of EU tech

The latest rumblings from the EU tech scene, a story from our wise ol' founder Boris, and some questionable AI art. It's free, every week, in your inbox. Sign up now!

But, where there’s one cheeky hacker there’s always another cheeky hacker doing something perhaps even funnier.

Enter SilasX who’s released: git-upstage. This code lets you claim credit, with a “smarmy message,” for work you didn’t do, backdated before the other person finished.

These projects have prompted conversation about whether GitHub finally needs to enable people to sign their code commits within the Web interface.

Blame someone else for your bad code [Hacker News]

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Published
Back to top