← Blog / · #Development · 2 min read

Git Common Commands

Personal commonly used git commands, including proxy settings, viewing and canceling proxy operations.
toc Table of Contents (5)
Git Common Commands

Set HTTP Proxy

git config --global http.proxy 127.0.0.1:7890
git config --global https.proxy 127.0.0.1:7890

View HTTP Proxy

git config --global --get http.proxy
git config --global --get https.proxy

Unset HTTP Proxy

git config --global --unset http.proxy
git config --global --unset https.proxy

GitHub

# Set proxy
git config --global http.https://github.com.proxy socks5://127.0.0.1:10808
# Unset proxy
git config --global --unset http.https://github.com.proxy
Tags: #git
Frency

Frency

· @psephopaiktes

Backend engineer, building indie SaaS tools and digital gardens in public.