2 ms·
Can jj iterate through a list of repositories and clone them all to local storage? It isn't very hard to make a bash script to do it, but I have about six gith
by ferfumarma 7mo ago
Can jj iterate through a list of repositories and clone them all to local storage?
It isn't very hard to make a bash script to do it, but I have about six github repos, all of which frequently need to be put on a new machine. that kind of functionality would be cool to have out of the box.
- hosteur 7mo agofor url in url1 url2 ..; do git clone $url; done That’s not really a script but a basic one liner.
- Filligree 7mo agoNo, but to be honest, why would you want it to? That's... well, you already showed the trivial one-liner.
- saghm 7mo agoAre you accessing these boxes via ssh or using them directly? If it's via ssh, I'd expect that you would already be using the clipboard for copying the names of them rather than typing them out manually, at which point copying `git clone <a> && git clone <b> && ...` would achieve the same thing.