docs(GOV-003): 配置项目专用 Gitea 远程仓库
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 回退说明
|
||||
|
||||
本功能的运行时影响仅限当前项目 `.git/config`。如需解除接入,在本项目根目录执行:
|
||||
|
||||
```bash
|
||||
git remote remove origin
|
||||
git config --local --unset credential.helper
|
||||
git config --local --unset credential.useHttpPath
|
||||
git config --local --unset credential.username
|
||||
git config --local --unset remote.pushDefault
|
||||
```
|
||||
|
||||
若 Keychain 已在后续交互式认证中保存凭据,再使用“钥匙串访问”按 `git.foximao.com` 删除对应项。文档和版本记录通过新的中文修复提交回退;不得改写已共享历史。本次未执行推送,因此远程不存在需要回滚的外部提交。
|
||||
Reference in New Issue
Block a user