Git Checkpoint
git.checkpointSave the current Git commit as a checkpoint before making risky edits, allowing you to restore the working tree to this state if needed.
Instructions
Return the current HEAD commit. Use this before a risky edit so git.revert can restore the working tree to this commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpoint | Yes |