diff --git a/modules/pre-commit.nix b/modules/pre-commit.nix index 83f7c3ed..c65ef02b 100644 --- a/modules/pre-commit.nix +++ b/modules/pre-commit.nix @@ -174,7 +174,7 @@ let chmod -R +w src ln -fs ${configFile} src/.pre-commit-config.yaml cd src - rm -rf src/.git + rm -rf .git git init git add . git config --global user.email "you@example.com"