Checking the Git config for a Repo

Assume you've sample.git checked out in a folder sample


  • CD to sample
  • Type git config -l  to see the current configuration. Example config:

user.name=ABCD
user.email=abcd@gmail.com
color.diff=auto
color.branch=auto
color.status=auto
color.showbranch=auto
alias.cpi=cherry-pick
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://github.com/robolectric/RobolectricSample.git
branch.master.remote=origin
branch.master.merge=refs/heads/master
branch.dev.remote=origin
branch.dev.merge=refs/heads/dev

  • Type git config -l  to edit current git configuration. 

No comments:

Post a Comment

Scheduling Repeating Local Notifications using Alarm Manager

Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .