Skip to content

Commit 5527084

Browse files
🐛 fix: Remove auto git add all in lobe-commit
1 parent 7e6856b commit 5527084

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/lobe-commit/src/commands/Commit/RunGitCommit.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const RunGitCommit = memo<RunGitCommitProps>(({ hook }) => {
2424
fs.writeFileSync(process.argv[3], message);
2525
setLoading(false);
2626
} else {
27-
execaSync('git', ['add', '--all']);
2827
execaSync('git', ['commit', '-m', message], {
2928
buffer: false,
3029
stdio: 'inherit',

0 commit comments

Comments
 (0)