Starting off this morning I had a pretty good idea of what my day would be about, but it hadn’t occurred to me to think about whether or not I had any specific task I was working on when I left.
I typed ‘git co master’, thinking I should probably pull and then merge into my latest work, and I got the following:
error: Your local changes to the following files would be overwritten by checkout:
So I’m thinking “whaaaaat?! why did I leave uncommitted crap hanging around!”
I have git status aliased to ‘s’, and git diff aliased to ‘d’, so ‘s’ showed me that only one file had changes, and I decided to take a peek with ‘d’:
+# get the correct information here to build the correct URL
I left myself a teensy love-note last night before I went off to dinner, and as soon as I saw it, I reloaded a ton of mental context.
So thanks, me.