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.
Asked
Active
Viewed 10 times
1 Answers
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