Skip to content

Commit

Permalink
docs: 增加git操作文档
Browse files Browse the repository at this point in the history
  • Loading branch information
simply-none committed Jan 8, 2024
1 parent 499a8ad commit d4127f8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/usage-frame/工具链/git操作.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ unable to access 'https://github.com/simply-none/redict.git/': Proxy CONNECT abo

以上失败信息,可通过设置代理,删除代理,挂载代理生效


```bash
# 设置代理:
git config --global http.proxy http://127.0.0.1:[代理端口号]
Expand All @@ -58,6 +57,21 @@ git config --global --unset https.proxy
git config --global -l
```

### git拉取推送失败

失败信息:

```bash
warning: ----------------- SECURITY WARNING ----------------
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See https://aka.ms/gcm/tlsverify for more information.
remote: Permission to simply-none/redict.git denied to mmmnnnmmmnnnppp.
fatal: unable to access 'https://github.com/simply-none/redict.git/': The requested URL returned error: 403
```

解决方法:使用`git config --global http.sslVerify false`即可

### 零散的

- 对当前提交打标签:`git tag <version_name>`
Expand Down

0 comments on commit d4127f8

Please sign in to comment.