Creating Git diff gists

A few weeks ago I asked you a very important question: How pretty are your Git diff’s? Side note: I now realise that’s grammatically incorrect – shouldn’t have an apostrophe! Anyway, using pretty-diff makes them pretty darn pretty.  But that’s not all that pretty-diff can do. If you haven’t already, you need to install the tool like…

Using a text editor in Git

Now that I’ve switched from Atom to VS Code I thought it was about time I spruced up my Git config, using VS Code to power the text editing features. For starters, you’ll want to globally set the code editor on the command line, like this… git config –global core.editor “code –new-window –wait” Or in the global…

Switching from Atom to VS Code

I’ve mentioned before that I use Atom as my code editor of choice.  Well, I have to be honest, recently it’s been annoying me a bit.  It can be slow, especially when I’ve got a lot of project folders loaded in (which I typically do as I’m a busy person).  But more annoying than that, about…

Getting in the flow

As developers (and any creative) there are some days where you work hard and get nowhere, and other days where everything goes right and you can get more done in a hour than you did the rest of the week so far.  Well this magically hour (or hopefully longer!) is often called you flow state.…