You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
422 B
Markdown

# Git Troubleshooting
## Rights to access repo
- Symptom
- ![](./images/git-rights-error.PNG)
- Cause
- Git has recently (due to a CVE) started caring about repository ownership
- Remedy
- Add the `repo to safe.directory`
```sh
$ git config --global --add safe.directory '*' # For the current user and all repositories
$ git config --system --add safe.directory '*' # For all users and all repositories
```