git troubleshot guide

main
Yik Teng Hie 3 years ago
parent 2663744238
commit a774a46e7f

@ -0,0 +1,13 @@
# 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
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Loading…
Cancel
Save