git
TIL: “ours" and "theirs" git merge strategies
When I’m either: * working on an experimental branch that I have no intention of merging into main, yet want to incorporate updates into; or * if I know with 100% certainty that I want to resolve merge conflicts in a particular direction (my branch vs. the one being merged in)
Git Log's Hidden Gems: Using -S and -L for Powerful Code History Search
Ever needed to track down when a specific piece of code was first introduced in a project? As part of some refactoring I had to do recently, I needed to do just that for a variable on a Django model. I was already familiar with the basic git log command,