/path/to/repo/.git/config

From wikieduonline
Revision as of 06:57, 17 July 2024 by Welcome (talk | contribs) (Welcome moved page ~/.git/config to /path/to/repo/.git/config)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

See also[edit]

Advertising: