End a ShadowGit session
end_sessionEnds an active ShadowGit session to resume automatic snapshots and capture unsaved changes at session end; safely succeeds if no session is active.
Instructions
Resume automatic snapshots for a project by ending its active ShadowGit session. Without session_id it ends whatever session is active on the project, and succeeds with nothing to do if there is none. ShadowGit takes changes not saved with checkpoint into a snapshot as the session ends (before ShadowGit 0.3.13, the next automatic snapshot takes them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Project name or absolute path. Defaults to the current project. | |
| session_id | No | Defaults to the active session of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | The step that follows a session | |
| repo | Yes | ||
| ended | Yes |