Introduction
In order to check the status of git repositores, git status
could be issued from the root of a repository.
C:pathogit_repositoriesgit_repo_1>git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
If a directory consists of multiple, e.g. 50 git repositories
C:pathogit_repositories>dir
Directory of C:pathogit_repositories
.ssh
git_repo_1
...
git_repo_50
0 File(s)
51 Dir(s)
Nor
C:pathogit_repositories>git status .
fatal: Not a git repository (or any of the parent directories): .git
neither
C:pathogit_repositories>git status ./.
fatal: Not a git repository (or any of the parent directories): .git
is able to check the status of all repositories
Question
How to check the status of all git repositories at once?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…