What is the git diff command needed to show the changes a merge would make without performing the merge?
I've done searches and not found what I'm looking for.  For example, I'm on branch feature/cool, and I run git diff main.  It shows me all of the new files I have created on feature/cool that's not what would be merged.  It is, however, a valid difference between the two branches.
I've seen how to do this with git merge see this:
- This git diff to see what a merge would introduce is the same/similar question but the answer is to use git merge.
I would accept that git doesn't have a way to do that with the git diff command but I thought I found the command to do this a few days ago.
 
    