Skip to content

Commit ff601d7

Browse files
authored
Merge pull request #7 from objectstack-ai/copilot/configure-pnpm-merge-driver
2 parents 6a38894 + dc3167e commit ff601d7

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml merge=pnpm-merge

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ A multi-language documentation site built with Fumadocs, supporting English and
1818
npm install
1919
```
2020

21+
After cloning the repository, configure the Git merge driver for `pnpm-lock.yaml`:
22+
23+
```bash
24+
git config merge.pnpm-merge.name "pnpm-lock.yaml merge driver"
25+
git config merge.pnpm-merge.driver "pnpm install"
26+
```
27+
28+
This helps avoid merge conflicts in the lock file by automatically regenerating it during merges.
29+
2130
### Development
2231

2332
```bash

0 commit comments

Comments
 (0)