Skip to content

Instantly share code, notes, and snippets.

View luiz-brandao's full-sized avatar

Luiz Brandao luiz-brandao

  • Montreal, Canada
View GitHub Profile
@digitaljhelms
digitaljhelms / gist:3099010
Created July 12, 2012 15:58
Squash the first two commits in a git repository's history

The scenario

Your repository has two commits:

$ git log --oneline
957fbfb No, I am your father.
9bb71ff A long time ago in a galaxy far, far away....