Skip to content

2026

Little Git Tricks: Get Rid of Commits

If we committed something into a Git repository that should not be there, we could rewrite the history and make it look as it was never there.

I usually try to prevent rewriting the history, especially when I already pushed the changes. Then when we modify the past, everyone in the team needs to do some extra work to catch up.

If this is not a problem or the lesser evil, we can use the following steps to rewrite the Git history.

Change the SSL Certificate of the Octopus Deploy Server

Renewing SSL certificates for applications we deploy with Octopus Deploy is a straightforward task. We can go to the certificate store, replace the old certificate with the new one and the next time we deploy the certificate is on the server. If we need to update the certificate for Octopus Deploy itself, we need to go through more hoops that are not as clear. Let us see what we need to do.

Find Outdated Packages in .NET Projects

Packages get outdated in no time. Keeping your dependencies up to date is not only a good thing, but because of the many security issues also an important task. It is already a few years since I wrote about the little .NET helper libyear. While this tool is still under active development and does its job the same way as it did in 2019, it is time to see what new tools could help us to keep an eye on our dependencies.

A nice little helper I found is dotnet-outdated, that gives us a detailed list of our projects and the outdated packages.