Adding set_url and list_urls methods to Remote · gitpython-developers/GitPython@546dfeb · GitHub
Skip to content

Commit 546dfeb

Browse files
committed
Adding set_url and list_urls methods to Remote
Both commands enable handling of a little known feature of git, which is to support multiple URL for one remote. You can add multiple url using the `set_url` subcommand of `git remote`. Though listing them is also handy, so there's a nice method to do it, using the configuration. Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
1 parent 902679c commit 546dfeb

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

git/remote.py

Lines changed: 15 additions & 0 deletions

0 commit comments

Comments
 (0)