-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 更新http/socks/ssh代理 和clone深度 #33
Conversation
README.md
Outdated
* [忽略某个文件的改动](#忽略某个文件的改动) | ||
* [忽略文件的权限变化](#忽略文件的权限变化) | ||
* [以最后提交的顺序列出所有 Git 分支](#以最后提交的顺序列出所有-Git-分支) | ||
* [在 commit log 中查找相关内容](#在-commit-log-中查找相关内容) | ||
* [把暂存区的指定 file 放到工作区中](#把暂存区的指定-file-放到工作区中) | ||
* [强制推送](#强制推送) | ||
* [git配置http,socks代理](#git配置http,socks代理) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请按照此格式修改:[git配置http,socks代理] -> [git 配置 http 和 socks 代理]
@clearcodecn 您好,请按照格式修改内容、标题、锚点链接 |
@521xueweihan ok了 |
README.md
Outdated
## git配置http,socks代理 | ||
|
||
```sh | ||
git config --global https.proxy 'http://127.0.0.1:8001' # 适用于 privoxy将socks协议转为http协议的http端口 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里“适用于 privoxy将socks协议转为http协议的http端口”
README.md
Outdated
```sh | ||
$ cat ~/.ssh/config | ||
Host gitlab.com | ||
ProxyCommand nc -X 5 -x 127.0.0.1:1080 %h %p # 直接使用shadowsocks提供的socks5代理端口 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里
README.md
Outdated
@@ -589,6 +592,14 @@ git show <branch-name>:<file-name> | |||
git clone -b <branch-name> --single-branch https://github.com/user/repo.git | |||
``` | |||
|
|||
## clone 最新一次提交 | |||
|
|||
只会clone最近一次提交,将减少clone时间 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里
No description provided.