Skip to content

Not inside a Git repository

error: /home/me/acme isn't inside a Git repository
hint: Run axle inside a Git repository, or leave out --affected and Git ranges such as [main].
error: axle import needs a Git repository to import into
hint: Run git init in the repository's root first.

axle affected, axle why affected, --affected and filters such as [main] ask Git what changed, axle import and axle release with versions = "changes" make a Git commit, and the repository’s folder isn’t tracked by Git.

Run Axle inside a Git repository, or create one with git init. Everything else Axle does works without Git, so you can also leave these options out.