Git: Difference between revisions

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

Revision as of 05: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 --system -l
color.diff=auto
color.status=auto
color.branch=auto
[recombinator](0) $