mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Set git config in global instead of system
This commit is contained in:
parent
8ef30bcc04
commit
5a33ef0586
2 changed files with 4 additions and 4 deletions
6
.github/workflows/mingw.yml
vendored
6
.github/workflows/mingw.yml
vendored
|
@ -28,9 +28,9 @@ jobs:
|
|||
working-directory:
|
||||
- name: git config
|
||||
run: |
|
||||
git config --system core.autocrlf false
|
||||
git config --system core.eol lf
|
||||
git config --system advice.detachedHead 0
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.eol lf
|
||||
git config --global advice.detachedHead 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: src
|
||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
choco install --no-progress winflexbison3 --version=2.5.18.20190508
|
||||
- name: git config
|
||||
run: |
|
||||
git config --system advice.detachedHead 0
|
||||
git config --global advice.detachedHead 0
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: src
|
||||
|
|
Loading…
Add table
Reference in a new issue