TIL Rider can show a diff of a directory between two branches

Search for a command to run...

No comments yet. Be the first to comment.
I recently use the /goal command in Claude Code for the first time. I was struggling to reproduce a bug that I already had a theoretical understanding of from investigating the codebase, but had previ

Things that happened I received a happy birthday message from our HR system. It gave me the same vibes as the AI-written compliments I mentioned in Month in review: May 2026. Microsoft ran an "AI sk

Fixing a code analysis auto-fix which made acronyms less clear

Things I learnt A HashSet is for storing unique elements. The point is that it has O(1) lookups like a Dictionary does. It uses the same basic mechanism as a Dictionary does (hashing objects then usi

I was recently working with an EF Core entity which contained a C# Point property representing a geolocation. This was stored in a single column in a SQL Server database. (I think this uses NetTopolog

Today I learnt that you can right–click on any project or directory within the Solution panel, and under the Git menu there is the option to Compare with Branch or Tag (or a separate option to Compare with Revision). This allows you to easily find all changes between two branches within a specific folder.

Clicking this opens a new panel containing the list of changed files, and clicking on the files shows the diffs in the same UI as other diffs within Rider.

I always like to find new features and tools which I already have access to. This feature was useful for me today, and I daresay it will be useful again.
As an aside, this is the git command to get a diff of all changes within a specified directory on the current branch since it diverged from develop.
git diff develop...HEAD -- Path/To/Directory
If there’s a lot, you can append | clip to copy the output to your clipboard, or append > diff.txt to put it in a new text file.