git installation

posted by Anil Kumar Shrestha on 2020-08-25

Installation

sudo pacman -S git

Setting up

We set global name and email so as not to type them every time we make any changes

git config --global user.name = "<your username here>"
git config --global user.email "<your email here>"

This will be stored in ~/.gitconfig

vim ~/.gitconfig

Done!

Back