0

I want check github repo and if is difference - download it. How I can make it? I will write bash script for it, but I can not find information about repo difference.

kvendingoldo
  • 311
  • 2
  • 4
  • 7

1 Answers1

0

If you have a local repo linked to a GitHub remote repo which might have evolved, you can download and compare the difference with:

cd /path/to/local/repo
git fetch
git diff master origin/master
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250