Difference between revisions of "Git config --list"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{lowercase}}
  
 
  [[git config]] --list
 
  [[git config]] --list
Line 15: Line 16:
 
  core.bare=false
 
  core.bare=false
 
  core.[[logallrefupdates]]=true
 
  core.[[logallrefupdates]]=true
 +
 +
git config --list
 +
user.name=YOUR_USERNAME
 +
user.email=YOUR_USERNAME@your_domain.com
 +
core.repositoryformatversion=0
 +
core.filemode=true
 +
core.bare=false
 +
core.logallrefupdates=true
 +
remote.[[origin]][email protected]:YOUR-project/your-repo.git
 +
remote.origin.[[fetch]]=+refs/heads/*:refs/remotes/origin/*
 +
  
 
  [[git config --global --list]]
 
  [[git config --global --list]]

Revision as of 12:47, 17 September 2021

git config --list
(no output)
git config --list
credential.helper=osxkeychain
user.name=YOUR_USERNAME
user.email=YOUR_USERNAME@your_domain.com
git config --list
user.name=hackerrank
[email protected]
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
git config --list
user.name=YOUR_USERNAME
user.email=YOUR_USERNAME@your_domain.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin[email protected]:YOUR-project/your-repo.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*


git config --global --list
fatal: unable to read config file '/root/.gitconfig': No such file or directory

Related terms

See also

Advertising: