Difference between revisions of "~/.gitconfig"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>.gitconfig</code> file.
+
<code>.gitconfig</code> or <code>[[$HOME]]/.gitconfig</code> file.
[[$HOME]]/.gitconfig
+
 
  
 
https://groups.google.com/forum/#!topic/binary-transparency/f-BI4o8HZW0/discussion
 
https://groups.google.com/forum/#!topic/binary-transparency/f-BI4o8HZW0/discussion
Line 12: Line 12:
 
         fsckObjects = true
 
         fsckObjects = true
 
</pre>
 
</pre>
 +
 +
 +
 +
# This is Git's per-user configuration file.
 +
[user]
 +
# Please adapt and uncomment the following lines:
 +
#      name = myuser
 +
#      email = [email protected]
 +
 +
name = myuser
 +
email = your_username@your_domain.com
 +
[credential]
 +
        [[helper]] = [[cache]]
 +
  
 
== Relate terms ==
 
== Relate terms ==
Line 19: Line 33:
  
 
== See also ==
 
== See also ==
* {{git}}
+
* {{git config}}
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 14:34, 15 July 2024

.gitconfig or $HOME/.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


# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
#       name = myuser
#       email = [email protected]

name = myuser
email = your_username@your_domain.com
[credential]
        helper = cache


Relate terms[edit]

See also[edit]

Advertising: