Overview
Status and reset via git_action.
Key Tools
- •
git_action: "git status", "git reset --hard", "git clean -f".
Usage Instructions
- •Status: "git status -s".
- •Reset: "git reset <commit>" (soft/hard/mixed).
- •Clean: "git clean -fd" (untracked).
- •Troubleshoot: Status -> reset if needed.
Examples
- •Status:
git_actionwith command="git status". - •Hard reset:
git_actionwith command="git reset --hard HEAD".
Error Handling
- •Irreversible: Caution with --hard.