On Sun, 27 Mar 2016 22:53:54 -0700 (PDT)
Swaroopa Gangadharan <swaroopagangadha...@gmail.com> wrote:
> Hi Konstantin Khomoutov , Thank you for your reply. Manual clone is
> not preferred as we have 700+ git repos and that will take months to
> do. Is there any automated way to do the clone?
I don't understand the essense of your question.
There exist a potentially unbound "ways" to automate cloning or repos --
that's what programming was invented for: if you have a repetitive task
which is infeasible/costly for a human to do, write a program which
will make a computer carry out this task.
As to how exactly program a solution to this task, highly depends on
In the simplest form -- just to demonstrate an idea -- the script would
while read name; do
git clone --mirror "$url_base/$name"
You then create a file containing the names of your repos -- one per
line -- and call your script as:
$ ./clone-all <path/to/file/with/repo/names
Sure if you have a more complicated setup, the approach will be more
I'm confident if you think a bit more about the fact we have exactly
zero knowledge about your infrastructure you will understand that the
script I presented is supposedly the most we can offer you at this
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
For more options, visit https://groups.google.com/d/optout.