Start a ShadowGit session
start_sessionPause automatic snapshots for a project so a set of related edits is saved as one checkpoint instead of partial snapshots. Use checkpoint and end_session to save and resume.
Instructions
Pause ShadowGit's automatic snapshots for a project while you make a set of related edits, so they can be saved as one checkpoint instead of several partial snapshots. Returns the existing session if one is already active. Needs the ShadowGit app running. To save the edits and resume snapshots, use checkpoint and end_session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Project name or absolute path. Defaults to the current project. | |
| description | Yes | What you are about to change, e.g. "Fix login redirect" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| session_id | Yes | ||
| already_active | Yes |