Skip to content

GitRemote API#

You can obtain a GitApi handle via Project.get_git_api. Once you have an API handle, you can use a GitRepo object to create (via GitRepo.add_remote) or retrieve (via GitRepo.get_remote or GitRepo.get_remotes) GitRemote objects.

GitRemote #

name property #

name

Name of the remote.

url property #

url

Url of the remote.

delete #

delete()

Remove the git remote from the repo.

RAISES DESCRIPTION
hopsworks.client.exceptions.RestAPIError

If the backend encounters an error when handling the request