Difference between revisions of "Git config"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
  
  <code>.gitconfig</code> file
+
  <code>~$HOME/[[.gitconfig]]</code> file
  
 
  git config --global --list
 
  git config --global --list

Revision as of 11:06, 29 September 2020

This article is a Draft. Help us to complete it.
~$HOME/.gitconfig file
git config --global --list
git config --local credential.helper "" (will prompt for username and password)


  • Turn off the SSL validation

git config --global http.sslVerify false

https://confluence.atlassian.com/fishkb/git-indexing-fails-due-to-bad-pack-header-371360062.html

git config --global pack.windowMemory "100m"
git config --global pack.SizeLimit "100m"
git config --global pack.threads "1"


.gitconfig file

https://groups.google.com/forum/#!topic/binary-transparency/f-BI4o8HZW0/discussion

 # for $deity's sake, check that anything we're getting is complete and sane on a regular basis
 [transfer]
        fsckobjects = true
 [fetch]
         fsckobjects = true
  [receive]
        fsckObjects = true


Related commands

See also

Advertising: