Skip to main content

Push a project's git state to its cloud remote

POST 

/api/push_project_git/:guid

Pushes the project's cloud remote up to date, using the acting user's own SSH key. By default pushes the current user's dev clone (its own main only, which may lag the hub - the hub itself is kept current automatically on every commit). With hub=true (the project card/popout's project-level Push button), pushes the hub instead - every pending commit it has, regardless of which clone or structural edit put it there. With no remote configured, a clone push is just a safety-net sync of the clone to the hub; a hub push fails outright (nothing to push to).

Request

Responses

Successful Response