0

I am writing an app to manage git repos using the GitPython module. It works fine for my local repos but I can't get it to work with the git:// protocol.

It takes my git://address-to-repo as a directory on my filesystem.

Is there a way to initiate a connection with a remote git repo?

1
  • This question may be better suited to StackOverflow due to its development/programming-oriented nature :) Aug 26 '09 at 12:31
1

From what I've seen during a very brief look at the gitpython source code, only repositories on the local filesystem are supported (repo.py). It does not appear to have support for the git protocol or any other method.

1

You may want to look into Dulwich.

0

GitPython 0.2 allows access to remotes, which is what you really need to use non-file protocols.

http://pypi.python.org/pypi/GitPython/0.2.0-beta1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.