title: git_proxt_set
categories: [git]
tags: [git, proxy, config]
date: 2017-08-01 21:23:05
Description: how to set up an agent in Git to let git go through the agent, so as to quickly pull branches from GitHub

set git through proxy:

set gir proxy

git config --global http.proxy socks5://
git config --global http.proxy
git config --global http.proxy

git config –usage

git config –global [name] [name_value]

Recover git global config:

git config –global –unset [name]