Git is more than just a tool—it’s a Swiss Army knife packed with hidden gems! In my new Git Tips and Tricks course at Pluralsight , I’ll show you how to unlock Git’s full potential. In 2016, I released my first Pluralsight course on Git. Since then, Git has evolved—and so have I. That’s why I’m thrilled to introduce my brand-new course Git Tips and Tricks , showcasing the latest features and…
The standard git pull command doesn’t play well with the Trunk-based development workflow. Fortunately, there’s a somewhat obscure way to make things right. I’m going to make a bold generalization here and say that most development teams would rather work on a single shared branch. I’m putting the emphasis on shared because, while there may well be other kinds of branches being worked on at any…
I’m excited to announce that my new Pluralsight course is out — and yes, there will be Cake. 1 Not Just Another Make Kidding aside, I didn’t make a Pluralsight course about baking; it’s about a Make-inspired build tool that uses C# called Cake . If you’ve never heard of it, let me tell you a story. When I first came across the Cake project it was the fall of 2014, almost exactly three years ago.…
Your repository has more commits than what meets the eye. They hide somewhere in the .git directory—where you can’t see them—but they’re there. I call them the invisible commits. Knowing where to find them can mean the difference between recovering your work and losing it to the sands of time. One of the things you’ll often hear enthusiasts like me say is “with Git, you can’t lose your work” . If…
Today, I start my new job as a freelance teacher and mentor . It took me a while to get there, but I’m excited to finally start this new chapter in my career. If you’d like to hear the background story, read on. If, instead, you’re more interested in knowing what’s next, here’s what I have in store . Background Story Sharing information has always been a passion of mine. In high-school, I remember…
Graphs and References Before I tell you all about querying the state of your branches, let’s back up for a second and remind ourselves of how Git views history. Consider this graph: What you’re seeing here is a directed acyclic graph : a fancy name used to describe a group of nodes ( graph ) where the edges point to a certain direction ( directed ) and never loop back on themselves ( acyclic ).…
Tell me if you recognize this scenario: you’re in the middle of rewriting your local commits when you suddenly realize that you have gone too far and, after one too many rebases, you are left with a history that looks nothing like the way you wanted. No? Well, I certainly do. And when that happens, I wish I could just CTRL + Z my way back to where I started. Of course, it’s never that simple — not…
While reading Rob Ashton ’s thought-provoking piece titled “ Why you can’t be a good .NET developer ” over my morning cappuccino the other day, for the first few paragraphs I found myself nodding in agreement. Having been a consultant for the past fifteen years, I’ve certainly come across more than a few teams where the “ lowest common denominator ” was without a doubt the driving force behind…
“Study the past if you would define the future.” ~Confucius Since the dawn of civilization, common sense has taught us that the way forward starts by knowing how we got here in the first place. While this powerful principle applies to practically all aspects of life, it’s especially true when developing software. For us programmers, the rear mirror through which we look at the history of a code…
Friday night, February 21, 2014 . That’s when the tretton37 Counter-Strike: Global Offensive fragfest was bound to start. Avid gamers looking to share virtual blood together, were eager to join in from our offices in Lund and Stockholm. A few more would play over the Internet. The time and place were set. Pizzas were ordered. Everything was ready to go. Except for one thing: We didn’t have a…