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! )

Recovering commits with Git

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

Recovering commits with Git Today I did not handle [my commits] with care and commits seemed to be lost. Luckily I found that Git does not delete commits. My lost commits were just not referenced by any branch or tag, but were ‘dangling’. The problem is finding these commits back. Similar content to MJD’s recent […]

Read Full Post | Make a Comment ( Comments Off on Recovering commits with Git )

How to undo (almost) anything with Git

Posted on June 9, 2015. Filed under: Uncategorized | Tags: , , , , , , , , |

How to undo (almost) anything with Git One of the most useful features of any version control system is the ability to “undo” your mistakes. In Git, “undo” can mean many slightly different things. When you make a new commit, Git stores a snapshot of your repository at that specific moment in time; later, you […]

Read Full Post | Make a Comment ( Comments Off on How to undo (almost) anything with Git )

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