Skip to main content

Update project git remote

PUT 

/api/update_project_git_config/:guid

Configures (or clears) the SSH remote used to link a project to a cloud git repository. Rejects URLs that aren't valid SSH remotes, and (unless the remote is unchanged or being cleared) rejects remotes that already contain history, since the project's first push would otherwise be rejected or would overwrite existing content. On success, schedules a git commit, propagation to other users' clones, and ensures the hub's own remote is set up.

Request

Responses

Successful Response