docs: 补充远程仓库SSH地址到GIT-GUIDE-LITE
This commit is contained in:
@@ -73,3 +73,30 @@ config: 启用Nanite和Lumen
|
||||
## 版本号
|
||||
|
||||
`v主版本.次版本.修订号` — 主版本=里程碑,次版本=新系统,修订号=小修
|
||||
|
||||
---
|
||||
|
||||
## 远程仓库
|
||||
|
||||
**SSH 地址**:`ssh://sc-gitea@micecola.top:2223/starmen1265/ChildHood.git`
|
||||
|
||||
> ⚠️ 用户名是 `sc-gitea`(非默认 `git`),端口是 `2223`(非默认 22)
|
||||
|
||||
**切换远程地址**:
|
||||
```bash
|
||||
git remote set-url origin ssh://sc-gitea@micecola.top:2223/starmen1265/ChildHood.git
|
||||
```
|
||||
|
||||
**SSH config**(`~/.ssh/config`):
|
||||
```
|
||||
Host gitea micecola.top
|
||||
HostName micecola.top
|
||||
Port 2223
|
||||
User sc-gitea
|
||||
IdentityFile ~/.ssh/id_ed25519_gitea
|
||||
IdentitiesOnly yes
|
||||
```
|
||||
|
||||
**内网地址**(家里用):`ssh://sc-gitea@192.168.1.22:2223/starmen1265/ChildHood.git`
|
||||
|
||||
完整规范见 → [GIT-GUIDE.md](GIT-GUIDE.md)
|
||||
|
||||
Reference in New Issue
Block a user