Skip to content
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

Merged
merged 4 commits into from May 6, 2019

Conversation

Projects
None yet
2 participants
@clearcodecn
Copy link
Contributor

commented Apr 25, 2019

No description provided.

README.md Outdated
* [忽略某个文件的改动](#忽略某个文件的改动)
* [忽略文件的权限变化](#忽略文件的权限变化)
* [以最后提交的顺序列出所有 Git 分支](#以最后提交的顺序列出所有-Git-分支)
* [在 commit log 中查找相关内容](#在-commit-log-中查找相关内容)
* [把暂存区的指定 file 放到工作区中](#把暂存区的指定-file-放到工作区中)
* [强制推送](#强制推送)
* [git配置http,socks代理](#git配置http,socks代理)

This comment has been minimized.

Copy link
@521xueweihan

521xueweihan Apr 29, 2019

Owner

请按照此格式修改:[git配置http,socks代理] -> [git 配置 http 和 socks 代理]

@521xueweihan

This comment has been minimized.

Copy link
Owner

commented Apr 29, 2019

@clearcodecn 您好,请按照格式修改内容、标题、锚点链接

clearcodecn added some commits Apr 29, 2019

@clearcodecn

This comment has been minimized.

Copy link
Contributor Author

commented Apr 29, 2019

README.md Outdated
## git配置http,socks代理

```sh
git config --global https.proxy 'http://127.0.0.1:8001' # 适用于 privoxy将socks协议转为http协议的http端口

This comment has been minimized.

Copy link
@521xueweihan

521xueweihan Apr 30, 2019

Owner

这里“适用于 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代理端口

This comment has been minimized.

Copy link
@521xueweihan
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时间

This comment has been minimized.

Copy link
@521xueweihan

@521xueweihan 521xueweihan merged commit 6d632e2 into 521xueweihan:master May 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.