🐙 Custom email routing per organization in GitHub

Within GitHub, if you belong to multiple organisations it is easy to have those notifications routed to specific email addresses. This is very useful if, for example, you use the same GitHub account for work and personal use. ...

<span title='2022-07-29 00:00:00 +0000 UTC'>29 July 2022</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Steve Hunt

📓 Get last Git commit message

In a Git repo run git log -1 to get details of the last commit. ...

<span title='2022-06-16 00:00:00 +0000 UTC'>16 June 2022</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Steve Hunt

🔨 DIY Git remotes

Working with a non-cloud hosted Git remote I often work in environments where the code is centrally stored in TFS. And as I hate, HATE, HATE TFS I have to find other ways to interact with the VCS to keep my sanity. GitTFS to the rescue. I’ve written about this before. ...

<span title='2016-04-12 00:00:00 +0000 UTC'>12 April 2016</span>&nbsp;·&nbsp;4 min&nbsp;·&nbsp;Steve Hunt

〽️ Git aliases

In order to provide a consistent development environment between team members as well as making it easier to do physical pair programming sharing a .gitconfig is a good thing to do. After all, when using another person’s machine there are few things more annoying than not having access to the same shortcuts you rely on. ...

<span title='2016-04-06 00:00:00 +0000 UTC'>06 April 2016</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;Steve Hunt

🤔 How I work with Git

I really enjoy introducing people to Git. Pretty much without fail they see how much better their development work-flow can be and find their work more enjoyable as a result. This is especially true if they are coming from a TFS background. See how I work with Git and TFS. However, with pleasure comes pain. For Git, that pain is in getting over the learning curve. The size and steepness of the curve varies depending on previous experience of Version Control Systems. In my experience, TFS does not provide a good base knowledge to work from as it tries to hide as much as possible from the user. Clearly Git is doing a lot for you too but the way it works is more exposed. For example, even the most basic of things like adding files into the index can seem strange to a TFS user. ...

<span title='2016-04-06 00:00:00 +0000 UTC'>06 April 2016</span>&nbsp;·&nbsp;5 min&nbsp;·&nbsp;Steve Hunt

😕 How I work with Git and TFS

This post has been one I’ve been meaning to write for months and months. Finally, I’ve got round to it! This does mean specifics are going to be few and far between… ...

<span title='2016-03-29 00:00:00 +0000 UTC'>29 March 2016</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;Steve Hunt

🎋 Fetch remote Git branches

After having added a new remote to my local git repository via git remote add other-remote [email protected]:user/other-repo I wanted to checkout one of the branches from that remote. ...

<span title='2016-01-19 00:00:00 +0000 UTC'>19 January 2016</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Steve Hunt

💵 How much is an emoji worth

I have written a bit about how to make your commit messages more insightful. ...

<span title='2015-10-13 00:00:00 +0000 UTC'>13 October 2015</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;Steve Hunt

✂️ Prune remote git branches

Using git branch -r to check the list of branches on the remote can often lead to a long list of branches making it difficult to tell which are active e.g. ...

<span title='2015-07-23 00:00:00 +0000 UTC'>23 July 2015</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Steve Hunt