79620006

Date: 2025-05-13 15:58:12
Score: 1
Natty:
Report link

If trying to compare a file that is not in the Solution Explorer, for example you have extracted a file from some other git branch to a temporary folder, you can open the external file in some editor, highlight all and copy. Then go into your project and find the same file in Solution Explorer.
Paste in the external files contents. Then have git compare current to unmodified. Then Ctrl-Z and undo the paste when done looking at the diff.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Richard Keene