git_safe_write_with_checkpoint
Write config files with automatic git commit before saving, providing a safe checkpoint for instant rollback.
Instructions
Write a config file AND automatically git-commit the current state before writing. This is the safest way to modify config files — you always have a rollback point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| relative_path | Yes | ||
| commit_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||