Difference between revisions of ".git/config"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  [[bare]] = false
 
  [[bare]] = false
 
  [[logallrefupdates]] = true
 
  [[logallrefupdates]] = true
 +
 +
[core]
 +
repositoryformatversion = 0
 +
filemode = true
 +
bare = false
 +
logallrefupdates = true
 +
ignorecase = true
 +
precomposeunicode = true
  
 
Configuration after setting up <code>[[git remote]]</code>:
 
Configuration after setting up <code>[[git remote]]</code>:

Revision as of 00:44, 2 February 2022


Default .git/config file executing after git init

[core]
	repositoryformatversion = 0 
	filemode = true 
	bare = false
	logallrefupdates = true
[core]
	repositoryformatversion = 0 
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
	precomposeunicode = true

Configuration after setting up git remote:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = [email protected]:your-project/your-repo.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
        remote = origin
        merge = refs/heads/main


Related terms

See also

Advertising: