Git aliases (updated)

Almost 2 years ago now I wrote about the Git aliases I was using.  And I still use most of them, but I’ve also added a few new ones worth talking about. Backing up slightly, I’m talking about creating shortcuts to improve your workflow.  For example, I like to use the short form of git status most of…

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…