Pull a project's dev clone from its git remote
POST/api/pull_project_git/:guid
Pulls the current user's dev clone up to date with the project's cloud remote, using that user's own SSH key. This always routes through the hub: the hub pulls from 'cloud' first, then that's propagated out - to this clone synchronously, to every other user's clone in the background. With no remote configured, falls back to pulling from the hub directly. A merge conflict is left unresolved in the requester's own clone (same as any other Pull conflict - see the Source Control tab's Merging state and abort_merge) rather than surfacing as a generic git failure.
Request
Responses
- 200
- 400
- 404
- 409
- 422
- 502
Successful Response
No SSH key configured for the current user
Project not found
Merge conflict - left unresolved in the current user's dev clone
Validation Error
git pull failed