Is there a way to git clone multiple .git repositories at one shot, all exisiting in same folder in remote machine?

I have a git machine, where there is a folder: git:/opt/git/third_party>
Inside third_party there are multiple .git repoitories.

I wish to clone all the .git inside third_party at one shot:

  • Chaining system commands onto git commands
  • can git merge two files ignoring their common ancestor
  • How to write a shell script that checks if git repository is up to date?
  • Write a git alias for fast forward that works in any tracking branch?
  • Git-svn W: -empty_dir warnings. What do they mean?
  • Magit not recognising git repositories
  • Something like:
    git clone kingsmasher1@git:/opt/git/third_party/*.git

    Is it possible?

  • How to stop divergent branch warnings in Git?
  • Github SSH works but clone using ssh fails
  • Remove/hide git branches without deleting commit histories
  • GitAttributes -=: why apply “-” and assign a value?
  • Git interactive unstage
  • Indenting Bash Script Output
  • One Solution collect form web for “Is there a way to git clone multiple .git repositories at one shot, all exisiting in same folder in remote machine?”

    Alternative approach

    You can use mr tool. With mr you can specify a file, where you list all of your repositories. Via mr checkout you’ll clone all configured repos and with mr update you’ll update all of them etc.

    Git Baby is a git and github fan, let's start git clone.