# An import needs a clean tree

What "has changes that aren't committed" means for axle import and how to fix it.

```text
error: the repository has changes that aren't committed
hint: Commit or stash them, so the import is a commit of its own, then run axle import again.
```

## Why it happens

[`axle import`](https://axlers.dev/docs/reference/import.md) makes a merge commit, and `git status` shows changes, or files Git doesn't ignore, that would end up in it.

## How to fix it

Commit the changes, or put them aside with `git stash --include-untracked`, then run `axle import` again. Bring them back with `git stash pop` once it's done.
