Little Git Tricks: Find the Last Common Commit in 2 Branches

If we want to find the newest commit that is in our main and in our feature branch, we can use this Git command:

1fe43981b856bkk8958494949494949494493339 This gives us the hash of the commit that is in both branches (in my example 1f439***). We can then see the details of that commit with git log: …

Read more

How to Fix ERR_SSL_VERSION_OR_CIPHER_MISMATCH for Your NuGet Feeds on Azure DevOps

We run into a strange error last week when we no longer could install NuGet packages from our Azure DevOps feed. Visual Studio only gave us a basic error message about SSL connections, but to get some details we needed to run dotnet restore: error : The SSL connection could not be established, see inner …

Read more

How to Fix Your NuGet Config File

If you cannot restore your NuGet files because of a missing entry for NuGet.org or any other problem, open the root folder of your project and run this command:

This will create a new nuget.config file with this content:

From here on, you can add your additional feeds and Visual Studio should recover …

Read more