I would like to know if my local repo is up to date (and if not, ideally, I would like to see the changes).
How could I check this without doing git fetch or git pull ?
git fetch
git pull
Try git fetch --dry-run The manual (git help fetch) says:
git fetch --dry-run
git help fetch
--dry-run Show what would be done, without making any changes.
1.4m articles
1.4m replys
5 comments
57.0k users