Git is a most widely used open sourced modern version control system in the world. Git follows distributed architecture (DVCS). Using git inside proxy network is always challenging. Git config allows you quickly configure proxy in seconds.
Update Git proxy config using following command:-
$ git config --global http.proxy http://proxyUser:proxyPass@proxy.server.com:port
If you want to work in another place where no proxy is there then unset it.
git config --global --unset http.proxy
Apart from this git provide a way by which you can open global config file in your editor for update other config items.
$ git config --global --edit
If you want to quickly configure you checkin username and email then -
$ git config --global user.name "Arun Singh"
$ git config --global user.email "dummy@email.com"
Ref: https://git-scm.com/docs/git-config
Good Help: https://gist.github.com/evantoli/f8c23a37eb3558ab8765
Top comments (0)