Sometimes you need to find when a certain piece of code was first introduced into your code base. Perhaps you’re wondering who wrote the first version of a certain function. It’s pretty easy to find what you’re looking for with git’s log command. All you need to do is use the -S flag with it: This will […]
Category Archives: git
Git, the animal – “error src refspec master does not match any.”
Lovely! When this git error came up, I knew exactly what it meant. I mean src refspec is perfectly clear! And everyone knows what any git is talking about. /rant /sarcasm Seriously, though, did Yoda write this? I was going about my merry way, trying to push some existing code (not currently a git repo) to Bitbucket and bam! […]