Friday, November 21, 2014

How To Install Git on a CentOS 7

# yum install git

# git config --global user.name "FirstName LastName"
# git config --global user.email "username@mydomain.com"

# git config --global core.editor vim
# git config --global merge.tool vimdiff
# git config --global color.diff auto
# git config --global color.status auto
# git config --global color.branch auto

# git config --list
# cat ~/.gitconfig

# git help

No comments: