Skip to content

Install and configuration

git installation and configuration


sudo apt update && sudo apt upgrade -y
sudo apt install -y git

User configuration

git config --global "${USER}"
git config --global ""
git config --global push.default simple

Create your ssh key

ssh-keygen -t rsa -C "${USER}@$(hostname)" -b 4096

More informations about ssh key.

Then you need to add your public key to your git server.

cat ~/.ssh/