Difference between revisions of "Git config --list"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
[[git config]] --list | [[git config]] --list | ||
Line 4: | Line 5: | ||
git config --list | git config --list | ||
− | credential.helper=[[osxkeychain]] | + | [[credential.helper]]=[[osxkeychain]] |
user.name=YOUR_USERNAME | user.name=YOUR_USERNAME | ||
user.email=YOUR_USERNAME@your_domain.com | 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 12: | Line 35: | ||
[[git config --global --list]] | [[git config --global --list]] | ||
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 == | == Related terms == | ||
* <code>[[.gitconfig]]</code> | * <code>[[.gitconfig]]</code> | ||
+ | * <code>[[git config --global]]</code> | ||
+ | * <code>[[git config --list --show-origin]]</code> | ||
== See also == | == See also == | ||
+ | * {{git config}} | ||
* {{git}} | * {{git}} | ||
− | [[Category: | + | [[Category:Git]] |
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
git config
,.git/config, ~/.gitconfig
,--list
,--global
,Usage: git config
,credential.helper
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: