0

I use git fetch upstream to get the latest changes from upstream repo but I can't figure out how I could see the difference between my local copy and upstream. I need something like git diff or at least git status so I could see what files have been changed before fetching. Is there a way to do that?

Marat
  • 82
  • 5
  • 2
    Before fetching, no. Before merging: yes, by fetching and then diffing `origin/your-branch` vs `your-branch`. – knittl Oct 11 '22 at 14:42
  • 1
    Possible duplicate [How do I show differences between local and remote files in Git?](https://stackoverflow.com/questions/46786070/how-do-i-show-differences-between-local-and-remote-files-in-git) – DrosvarG Oct 11 '22 at 14:42

0 Answers0