1

Using GitPython locally is peace of cake, I need clone, pull, commit git repository on remote machine.

I know I can wrap bash/git commands with paramiko, but I need find out if there is any way to do it with GitPython objects, maybe with help another python2.7 library.

3
  • Why not upload your script onto the remote machine via SSH? Commented Feb 27, 2016 at 17:51
  • Yes, I can. I just wonder how to operate on python objects and not scripts.
    – emcek
    Commented Feb 28, 2016 at 18:51
  • I don't think it's possible. But how about cloning repo to local machine, changing branch locally, and pushing it back to remote server? BTW, you even don't need a running git server on remote machine, just specify ssh://{user}@{host}/{path} instead of http/git repo address
    – Dmitriusan
    Commented Mar 3, 2016 at 16:58

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.