如何为python git.Repo()使用远程路径?

如何为python git.Repo()使用远程路径?,python,ssh,gitpython,Python,Ssh,Gitpython,对于初始化回购,我使用 repo = git.Repo(path) 可以这样使用远程路径吗user@host:/path/to/repo? 谢谢你的评论

对于初始化回购,我使用

repo = git.Repo(path)
可以这样使用远程路径吗
user@host:/path/to/repo
? 谢谢你的评论