Skip to main content

git remote

Project description


$ [sudo] pip install git-remote


function __doc__
git_remote.add(name, url) git remote add name url
git_remote.names() return git remote names
git_remote.remotes() return a list of git remote tuples (name, url)
git_remote.remove(name) git remote rm name
git_remote.rename(old, new) git remote rename old new
git_remote.rm(name) git remote rm name run git remote with args and return output
git_remote.set_url(name, url) git remote set-url old new
git_remote.urls() return git remote urls


>>> import git_remote
>>> git_remote.add("github","")
>>> git_remote.remotes()
[['github', '']]

>>> git_remote.names()

>>> git_remote.urls()

>>> git_remote.set_url("github","")
>>> git_remote.rm("github")


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for git-remote, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size git-remote-2019.4.13.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page