Install - GradedJestRisk/git-training GitHub Wiki

Table of Contents

CLI

Linux

From git repository to get latest versions

sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
git --version

Windows

GitBash

GUIs

GUI:

Setup

User profile

Set up these values only if you use a single account. If not, set them a repository level only.

git config -–global user.name "Firstname Lastname"
git config -–global user.email "[email protected]"

Proxy

Get proxy using in Chrome (may give you a .pac file instead of name...)

chrome://net-internals/#proxy

Set proxy in Git

git config –global http.proxy http://<PROXY>:<PROXY-PORT> 

Pull strategy

See pull strategy git config --global pull.rebase preserve

⚠️ **GitHub.com Fallback** ⚠️