Do you want your agent to rewrite your repository's history?
To tidy up it amends your last commit, rebases the branch, or resets to a clean state, and the uncommitted work you had in progress is gone.
What you get: Your history and your uncommitted work are left as you left them, unless you say otherwise.