Set git config in global instead of system
This commit is contained in:
parent
8ef30bcc04
commit
5a33ef0586
6
.github/workflows/mingw.yml
vendored
6
.github/workflows/mingw.yml
vendored
@ -28,9 +28,9 @@ jobs:
|
|||||||
working-directory:
|
working-directory:
|
||||||
- name: git config
|
- name: git config
|
||||||
run: |
|
run: |
|
||||||
git config --system core.autocrlf false
|
git config --global core.autocrlf false
|
||||||
git config --system core.eol lf
|
git config --global core.eol lf
|
||||||
git config --system advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: src
|
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
|
choco install --no-progress winflexbison3 --version=2.5.18.20190508
|
||||||
- name: git config
|
- name: git config
|
||||||
run: |
|
run: |
|
||||||
git config --system advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user