Everyone says to use git branches early and often, but I inevitably lose track of what branch I’m on. My workflow generally goes something like: Check out a branch Lunch! Get back to my desk and make an emergency bug fix Commit emergency fix Suddenly realize I’m not on the branch I meant to beContinue reading “––thursday #3: a handy git prompt”
Tag Archives: prompt
PS1++
Since MongoDB was first created, the Mongo shell prompt has just been: > A couple of months ago, my prompt suddenly changed to: myReplSetName:SECONDARY> It’s nice to have more information the prompt, but 1) I don’t care about the replica set name and 2) a programmer’s prompt is very personal. Having it change out fromContinue reading “PS1++”