Difference between revisions of "~/.gitconfig"

From wikieduonline
Jump to navigation Jump to search
 
(10 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.
 
 
  
  
Line 14: Line 13:
 
</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 ==
 +
* <code>[[git config]]</code>
 +
* <code>[[.gitignore]]</code>
 +
* <code>[[.git/config]]</code>
  
 
== 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: