We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5544ffb commit a1ef33eCopy full SHA for a1ef33e
scripts/pre-commit
@@ -44,8 +44,8 @@ if [ "$spotlessExitCode" -ne 0 ]; then
44
exit "$spotlessExitCode"
45
fi
46
47
-# Spotless possibly found changes, apply them
48
-git add -A
+# Spotless possibly found changes, apply them, excluding untracked files
+git add -u
49
50
# Restore back the unstaged changes
51
pop_stash
0 commit comments