Description
Description
To run any git
command you should add current path to safe.directory:
git config --global --add safe.directory ${GITHUB_WORKSPACE}
Otherwise you'll receive error:
fatal: detected dubious ownership in repository at '/__w/UTBotJava/UTBotJava'
To add an exception for this directory, call:
git config --global --add safe.directory /__w/UTBotJava/UTBotJava
Error: Process completed with exit code 128.
To Reproduce
Steps to reproduce the behavior:
- Run any
git
command in current directory
Expected behavior
Git works as expected
Actual behavior
git
fails with exit code 128
Visual proofs (screenshots, logs, images)
See last build
Environment
Not applicable
Additional context
Not applicable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done