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

clearcodecn
Copy link
Contributor

No description provided.

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

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 代理]

@521xueweihan
Copy link
Owner

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

@clearcodecn
Copy link
Contributor Author

@521xueweihan ok了

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

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

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代理端口
Copy link
Owner

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时间
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里

@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants