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
- 200
- 400
- 404
- 422
Successful Response
Not a valid SSH URL, or the remote isn't an empty repository
Project not found
Validation Error