Skip to content

Commit a6f751a

Browse files
authored
fix: use git commit -A (#42)
1 parent 4dec1ca commit a6f751a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/dirty-panthers-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'changesets-gitlab': patch
3+
---
4+
5+
some system git version old, `git add -a .` not working at dot prefix dir (such as .changeset), use `git add -A .` instead

src/gitUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const reset = async (
5454
}
5555

5656
export const commitAll = async (message: string) => {
57-
await exec('git', ['add', '.'])
57+
await exec('git', ['add', '-A', '.'])
5858
await exec('git', ['commit', '-m', message])
5959
}
6060

0 commit comments

Comments
 (0)