checkout
checkout copied to clipboard
The process '/usr/bin/git' failed with exit code 1
For some reason git started failing on checkout after I enabled auto-commiting changes made by prettier
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/update/jsoniter-scala-core-2.23.0*:refs/remotes/origin/update/jsoniter-scala-core-2.23.0* +refs/tags/update/jsoniter-scala-core-2.23.0*:refs/tags/update/jsoniter-scala-core-2.23.0*
The process '/usr/bin/git' failed with exit code 1
Waiting 20 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/update/jsoniter-scala-core-2.23.0*:refs/remotes/origin/update/jsoniter-scala-core-2.23.0* +refs/tags/update/jsoniter-scala-core-2.23.0*:refs/tags/update/jsoniter-scala-core-2.23.0*
The process '/usr/bin/git' failed with exit code 1
Waiting 15 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/update/jsoniter-scala-core-2.23.0*:refs/remotes/origin/update/jsoniter-scala-core-2.23.0* +refs/tags/update/jsoniter-scala-core-2.23.0*:refs/tags/update/jsoniter-scala-core-2.23.0*
See: https://github.com/build-server-protocol/build-server-protocol/actions/runs/5003971723/jobs/8966282180#step:2:129
I have same issue.
Same :(
I have same issue too !
BUMP: we are seeing the same issue in our actions runner now
Same
same here :(
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/v2.000-dev*:refs/remotes/origin/v2.000-dev* +refs/tags/v2.000-dev*:refs/tags/v2.000-dev*
The process '/usr/bin/git' failed with exit code 1
Waiting 20 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/v2.000-dev*:refs/remotes/origin/v2.000-dev* +refs/tags/v2.000-dev*:refs/tags/v2.000-dev*
The process '/usr/bin/git' failed with exit code 1
Waiting 14 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/v2.000-dev*:refs/remotes/origin/v2.000-dev* +refs/tags/v2.000-dev*:refs/tags/v2.000-dev*
##[debug]Unsetting HOME override
::remove-matcher owner=checkout-git::
##[debug]Removed matchers: 'checkout-git'
Error: The process '/usr/bin/git' failed with exit code 1
##[debug]Node Action run completed with exit code 1
The same error after dozens of re-runs.
Usage:
- uses: actions/checkout@v4
with:
path: Include/EA31337-strategies
ref: v2.000-dev
repository: EA31337/EA31337-strategies
submodules: recursive
I've tested actions/checkout@v3
, didn't work either (same error).
It's possible that I'm cloning git repository on top of another cloned repository and there is some kind of confusion?
Update: I've refactored my actions by moving checkout of each repo into separate jobs then upload source code files as artifact, then download it from another one. This workaround worked for me.
Same error and symptom for us.
We are running with self-hosted runner. I tried to run the same command as the runner would and with export GIT_TRACE=1
[...]
09:45:10.394902 run-command.c:654 trace: run_command: GIT_DIR=.git git remote-https origin https://github.com/REDACTED
09:45:10.395717 git.c:745 trace: exec: git-remote-https origin https://github.com/REDACTED
09:45:10.395736 run-command.c:654 trace: run_command: git-remote-https origin https://github.com/REDACTED
Username for 'https://github.com': foo
Password for 'https://[email protected]':
09:45:22.693484 run-command.c:654 trace: run_command: git maintenance run --auto --no-quiet
09:45:22.694565 git.c:458 trace: built-in: git maintenance run --auto --no-quiet
$ echo $?
1
I'm also having this issue. The ref is a tag and it works on some tags, but not on others.