mirror of
http://junepve.top:3000/chicrobot/README.git
synced 2026-10-30 00:41:29 +08:00
更新 a0_部署gitea.md
This commit is contained in:
1 parent
d6b882be85
commit
a3d1b6afc0
1 file changed
+8
@@ -19,3 +19,11 @@ git config user.email "email@example.com"
|
|||||||
git config --global user.name "Name"
|
git config --global user.name "Name"
|
||||||
git config --global user.email "email@example.com"
|
git config --global user.email "email@example.com"
|
||||||
```
|
```
|
||||||
|
## 当账户与文件夹用户id不一致时(如部署在Docker中且目录通过-v挂载)
|
||||||
|
```
|
||||||
|
git config --global --add safe.directory /projectName
|
||||||
|
```
|
||||||
|
或 "*" 关闭所有目录的安全检查
|
||||||
|
```
|
||||||
|
git config --global --add safe.directory "*"
|
||||||
|
```
|
||||||
Reference in new issue
Block a user