#3. Git global settings on ubuntu system

git config --global user.name "Raj Kumar"

git config --global user.email 2017kamb@gmail.com

git config --global core.editor vim

git config --global merge.tool meld

git config --global  diff.guitool meld

git config --list


Example,

raj@ROR-04:~$ git config --list

alias.co=checkout

alias.br=branch

alias.st=status

user.name=Raj Kumar

user.email=2017kamb@gmail.com

core.editor=gedit

merge.tool=meld

diff.guitool=meld


File where these settings are stored is, ~/.gitconfig


Comments

Popular posts from this blog

#6. Fetch time in rails

#8. nginx+puma deployment using capistrano

#21. Rails scope