This script is designed to scrape through the directory in which it was called and sub directories and find all git repos within.
It will then check for 'issues' with each git repo, from remote changes needing to be pulled, to uncommitted files, etc.
It will then allow you to specify what options you want to take based on the issues it found including a pull all command. (this can also be done using a flag)
- Implement fix all functionality (keep track of pull push status for each repo and if simple pull or push found then automatically do this)
- Implement less verbose output
- Implement usage message
- Implement the ability to specify a directory to check as opposed to having to cd manually.
the file gitCheckRemote is the full script. Any other script files are for reference only.