I'm new to git and just now learning how to use it and the commands. I've cloned some remote repositories to a local machine, and I would like to be able to monitor those repositories for changes via a script.
After some research, I thought that "git status" would report back the status of the repository and if there had been changes that need to be pulled to the local clone. However, after some testing, I can't get it to work as I expected. I tested on some repo's that I know had recently been changed, but "git status" always came back with "Your branch is up-to-date with 'origin/master' ". Perhaps I don't know the correct way to use git status, but I would think that I should get something back saying that there were changes, not that my branch was up-to-date. I've looked at some other suggestions that I found online, like "git ls-files", but nothing seems to provide the information that I need. How can I monitor a remote git repo for changes? Thanks Daryl -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
