git_safe_write_with_checkpoint
Commit current state automatically before writing config files, providing a secure rollback point for configuration changes.
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 |
|---|---|---|---|
| relative_path | Yes | ||
| content | Yes | ||
| commit_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||