Sample initial git set up commands

This is a sample initial git set up commands I use for my projects.

git config –system
git config –global
git config # this is for project basis configuration.

 

#Configure initial set up
git config –global user.name “Ankan Basu”
git config –global user.email “email@gmail.com”

# check configuration
git config –list

# set up the default text editor for git
git config –global core.editor “vim”

# use colors with git
git config –global color.ui true

Posted in git

Leave a Reply

Your email address will not be published. Required fields are marked *