Monday, 22 October 2012

Git config commands



Below is the list of git global configuration commands

> git config -l

The above command will display complete configuration for the present git login as how below

user.name=Uma Mahesh
user.email=umamaheshvarma@gmail.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=git@heroku.com:umamahesh.git
branch.master.remote=origin
branch.master.merge=refs/heads/master





You can change the above configuration with the below commands,



git config --global user.email "
umamaheshvarma.seeram@gmail.com"
git config --global user.name "uma"







Thank You,
Uma Mahesh.



No comments:

Post a Comment