Skip to content

Commit

Permalink
Configure git config globally instead of locally
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Aug 6, 2024
1 parent 319adae commit 98e4e0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to

## [unreleased]

### Fixed

- Configure git config globally instead of locally.

## [3.0.6]

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/setup-ocaml/src/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function setGitToIgnoreCygwinLocalPackageDirectory() {
} finally {
await exec(
"git",
["config", "--add", "--local", "core.excludesfile", globalGitIgnorePath],
["config", "--add", "--global", "core.excludesfile", globalGitIgnorePath],
{ windowsVerbatimArguments: true },
);
}
Expand Down

0 comments on commit 98e4e0a

Please sign in to comment.