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

 795 total views,  1 views today

about author

Ankan Basu

ankanbasu@ankanbasu.com

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.