有没有办法知道远程存储库中的git列表?如果我知道,我想从远程邮局下载所有项目。请假设远程存储库有
现在我正在研究projectA.git,我不知道那里也有projectB.git和projectC.git。
我可以从
ssh://remoteMachine@xxx.x.xxx.xxx:xxx/data/repos/projects/projectA.git
克隆或获取数据因此,我想查看其他网址,例如..
ssh://remoteMachine@xxx.x.xxx.xxx:xxx/data/repos/projects/projectB.git
ssh://remoteMachine@xxx.x.xxx.xxx:xxx/data/repos/projects/projectC.git
有可能吗?
最佳答案
不仅是git,还需要一个前端专用应用程序来列出存储库。
gitolite info
)。 注意:使用
ssh ls
假定可以访问交互式ssh,通常不建议这样做(因为您还可以执行其他命令,例如... rm
)
关于git - 如何知道远程存储库中的所有项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25637088/