.git/config: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
=Overview= | =Overview= | ||
<code>[[.git/config]]</code> maintains repository specific configuration is maintained, which is read and written with <code>git config --local [...]</code> | |||
=Configuration Elements= | =Configuration Elements= | ||
{{Internal|Git_Configuration#Configuration_Elements|Git Configuration | Configuration Elements}} | {{Internal|Git_Configuration#Configuration_Elements|Git Configuration | Configuration Elements}} |
Revision as of 22:46, 9 January 2024
Internal
Overview
.git/config
maintains repository specific configuration is maintained, which is read and written with git config --local [...]
Configuration Elements
Entries
[core]
[remote]
[remote] entires represent remotes for the current repository, and are manipulated by the git remote command.
[remote "origin"] url = https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git fetch = +refs/heads/*:refs/remotes/origin/*
More than one [remote] entries are possible, in case the local repository has multiple remotes.
[branch]
See
[http]
See
[user]
Maintains user identity information, configured with git config.
name = John Doe email = john@doe.com