gitgithubgit-diff

'git diff' between a remote and local repository


I am trying to diff my local file with a GitHub repository before I submit a pull request, so I can see what will show up. Is there an accurate way of doing this?

I assume GitHub's compare tool manipulates Git's diff.


Solution

  • Don't do a pull :