Smaller repositories on disk with Git sparse checkout

My disk was full the other day, so I needed to clean up. First the obvious stuff, like the Downloads-folder, the Nuget-cache, the bin- & obj-folders and the Temp-directory. Second, I used WinDirStat to figure out where the other biggest culprits of data-usage are to be found. One of the directories was the main project I’m working on, with a staggering 24GB in disk size! Obviously, we’ve created a lot of code in the past years, but not THAT much. Read more →

Get the changes since the last Release in Azure DevOps

A request came by me to: Get all the commits associated to a specific release, based on the previous succesful release. The fun thing is, we’re using Azure DevOps. Easy right? Well, that’s what I thought, because this information is readily available in the web interface of Azure DevOps. As the saying goes: We do things not because it is easy, but because we thought it would be easy! This phrase applies to the above request. Read more →

Use multiple GitHub accounts a single machine

It so happens a lot of people are mixing their work- and personal development machines, especially when doing side projects in their spare time which are somewhat work-related. At least, this is the case for me as I’m using GitHub both for work & personal stuff nowadays. On my personal machine, I’ve set up Git to work with my personal e-mail address & SSH keys. On my work machine, I’ve set it up to run with my work account. Read more →

Tune your Terminal with a PowerShell profile

With the new Windows Terminal available I’ve been searching on how to upgrade my console experience. I see a lot of people improving their terminal to show important information, like which Git branch you are working on, which Azure subscription, the actual location on disk, etc. A couple of months ago I came across Brad Wilson his post on the matter and I like the way his terminal looks. His post, is rather straightforward, but there was some information missing. Read more →

Connecting to a Git server on your Windows machine

The past couple of days I’ve had the pleasure to start using a Git server as the new version control system at my customer. I’ve already had the pleasure to use GitHub and BitBucket in the past, which works like a charm with tools like GitHub for Windows and SourceTree. Because I’m used to using these tools, I really wanted to use them on my day job also. Because we chose to use SSH keys as a validation mechanism I had to create one. Read more →