I've found some nice questions illustrating how one would write a script automating git push/pull
with cron here and here, but I want to elaborate on that slightly. I only want to push/pull if there were changes made that day.
I basically want the script to check the difference log between origin and this repository and only push or pull if there are changes. I'm not very experienced with bash and git, so I don't really know where to start, otherwise I would paste what I've tried so far.
Thank you for any help or guidance.