Skip to content

HAMUR_E0205: hamur migrate --write found uncommitted changes

hamur migrate --write found uncommitted changes. Error HAMUR_E0205 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0205 <dir> has uncommitted changes; commit them first, or pass --force

Cause

The app is in a git work tree and git status lists changes under it, so the rewrite could not be told apart from them or undone with git.

Fix

Commit or stash the changes and run the command again, or pass --force to rewrite anyway.