SyntaxFix
Write A Post
Hire A Developer
Questions
I believe you can diff against files in your index and untracked files by simply supplying the path to both files.
git diff --no-index tracked_file untracked_file