mirror of
http://junepve.top:3000/chicrobot/README.git
synced 2026-10-29 23:41:29 +08:00
更新 a0_部署gitea.md
This commit is contained in:
1 parent
94765e7167
commit
d6b882be85
1 file changed
+12
@@ -7,3 +7,15 @@ Git 会将你下一次输入的用户名和密码(或 Personal Access Token)
|
|||||||
https://<username>:<password_or_token>@github.com
|
https://<username>:<password_or_token>@github.com
|
||||||
```
|
```
|
||||||
之后,Git 在访问相同域名(如 github.com)时会自动读取这个文件中的凭据,不再提示输入。
|
之后,Git 在访问相同域名(如 github.com)时会自动读取这个文件中的凭据,不再提示输入。
|
||||||
|
|
||||||
|
## 设置项目邮箱和名称
|
||||||
|
当前项目
|
||||||
|
```
|
||||||
|
git config user.name "Name"
|
||||||
|
git config user.email "email@example.com"
|
||||||
|
```
|
||||||
|
全局设置
|
||||||
|
```
|
||||||
|
git config --global user.name "Name"
|
||||||
|
git config --global user.email "email@example.com"
|
||||||
|
```
|
||||||
Reference in new issue
Block a user