Difference between revisions of "Git config --list"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{lowercase}}
  
 
  [[git config]] --list
 
  [[git config]] --list
 
  (no output)
 
  (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
 +
 +
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
 +
  
  
Line 7: Line 36:
 
  fatal: unable to read config file '/root/.gitconfig': No such file or directory
 
  fatal: unable to read config file '/root/.gitconfig': No such file or directory
  
 
+
== Related terms ==
 +
* <code>[[.gitconfig]]</code>
 +
* <code>[[git config --global]]</code>
 +
* <code>[[git config --list --show-origin]]</code>
  
 
== See also ==
 
== See also ==
* {{git}}
+
* {{git config}}
 
 
  
[[Category:Gi]]
+
[[Category:Git]]

Latest revision as of 10:17, 8 November 2024

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[edit]

See also[edit]

Advertising: