I am working with other people on a project and would like to be notified in a timely manner if there is something to pull from GitHub (perhaps also other participants directly).
I was thinking about creating a cron-job that does git remote update every hour or so and my shell then checks git log HEAD..origin on every "render" of the prompt if there are any items in there. (via oh-my-zsh/lib/git)
Is there a better way to do that?
git fetch
- it updates without merging.git fetch --all
(either way I stand corrected!)