本文不做过多讲解,不懂的内容请留言
➜ cat ~/.gitconfig
[user]
email = github-actions[bot]@users.noreply.github.com
name = github-actions[bot]
[http]
proxy = socks5://127.0.0.1:7890
proxy = http://127.0.0.1:7890
[https]
proxy = socks5://127.0.0.1:7890
proxy = https://127.0.0.1:7890
[core]
excludesfile = /Users/xr/.gitignore
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
➜ Downloads cat ~/.ssh/config
Host github.com
HostName github.com
User git
Port 22
Proxycommand /usr/local/bin/ncat --proxy 127.0.0.1:7890 --proxy-type socks5 %h %p
➜ cat ~/.gitignore
.DS_Store
*/.DS_Store
Thumbs.db
db.json
*.log
node_modules/
public/
.deploy*/
Icon
.idea
XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way