git troubleshot guide
parent
2663744238
commit
a774a46e7f
@ -0,0 +1,13 @@
|
|||||||
|
# Git Troubleshooting
|
||||||
|
|
||||||
|
## Rights to access repo
|
||||||
|
- Symptom
|
||||||
|
- 
|
||||||
|
- 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…
Reference in New Issue