Adding support for git remote set-url/get-url API to Remote by guyzmo · Pull Request #446 · gitpython-developers/GitPython (original) (raw)

So, I've squashed my commit with a new one, featuring a few changes:

Then I've added a couple of convenience methods, to avoid adding awkward arguments to control set_url:

Finally, I've added a test covering all the new code, with a couple of edge cases, and wrote pydoc for those functions. I hope it's how you like it, mates!