Posts

Showing posts with the label git

#2. How to create git alias

git config --global alias.co checkout git config --global alias.br branch git config --global alias.st status File where these settings are stored is,  ~/.gitconfig cat ~/.gitconfig

#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