Difference between revisions of "Git config --list"

From wikieduonline
Jump to navigation Jump to search
(3 intermediate revisions by 2 users not shown)
Line 24: Line 24:
 
  core.bare=false
 
  core.bare=false
 
  core.logallrefupdates=true
 
  core.logallrefupdates=true
  remote.[[origin]].url[email protected]:YOUR-project/your-repo.git
+
  [[remote.origin.url]][email protected]:YOUR-project/your-repo.git
 
  remote.origin.[[fetch]]=+refs/heads/*:refs/remotes/origin/*
 
  remote.origin.[[fetch]]=+refs/heads/*:refs/remotes/origin/*
 +
 +
[[git config]] --list
 +
.../...
 +
[[pull.rebase]]=false
 +
  
  
Line 33: Line 38:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[.gitconfig]]</code>
 
* <code>[[.gitconfig]]</code>
 +
* <code>[[git config --global]]</code>
 +
* <code>[[git config --list --show-origin]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 06:03, 1 September 2022

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.url[email protected]:YOUR-project/your-repo.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
git config --list
.../...
pull.rebase=false


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

Related terms

See also

Advertising: