Check out my first novel, midnight's simulacra!

Git: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 5: Line 5:
user.name=Nick Black
user.name=Nick Black
user.email=dank@qemfd.net
user.email=dank@qemfd.net
github.user=dankamongmen
[recombinator](0) $</pre>Dump the system configuration, if one exists, via <tt>git config --system -l</tt>:
<pre>[recombinator](129) $ git config -l
color.diff=auto
color.diff=auto
color.status=auto
color.status=auto
color.branch=auto
color.branch=auto
github.user=dankamongmen
[recombinator](0) $</pre>
[recombinator](0) $</pre>Dump the system configuration, if one exists, via <tt>git config --system -l</tt>.

Revision as of 09:21, 23 October 2009

Here's a good crash course for subversion users. GitHub provides pretty reasonable git hosting services; open source projects eat free.

Configuration

Dump your user configuration with git config -l:

[recombinator](129) $ git config -l
user.name=Nick Black
user.email=dank@qemfd.net
github.user=dankamongmen
[recombinator](0) $

Dump the system configuration, if one exists, via git config --system -l:

[recombinator](129) $ git config -l
color.diff=auto
color.status=auto
color.branch=auto
[recombinator](0) $