2

I came across this Question and able to get status for all Git folders in single system.

But is there any way to know the status of all Git repositories, that are there in other systems (Connected via same LAN)

Rajana Deepak
  • 1,302
  • 2
  • 13
  • 28

1 Answers1

1

Not natively with Git alone.

Similarly to "Check status of all git repositories at once", you would have to script such a "global status".
That script would have to be able to open a session (for instance through ssh), go to the root folder of the non-bare repository, and make a git status there.
That is what an Ansible playbook with command could do for instance, if you had to automate that on a large number of remote machines.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250