Category: Git

  • So you wanna yarn add a dependency from a git repo?

    So you wanna yarn add a dependency from a git repo?

    I’m posting this because, even if really basic stuff, I’ve bumped my head with this wall way too many times before successfully managing to accomplish the task: Use yarn add to pull a dependency while using a git repo as the source. It is, in fact, really simple (though I feel is way to verbose…

  • Cherry-picking your way out of trouble

    Cherry-picking your way out of trouble

    I find cherry-pick to be one of those great underutilized features of git. And maybe that’s good, because it’s mainly used to apply hot fixes. The way it works is very simple, it just let’s you merge one or more commits from one branch onto another. Awesome, right? Imagine a situation in which you have…