Check out my first novel, midnight's simulacra!
Git: Difference between revisions
From dankwiki
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
color.branch=auto | color.branch=auto | ||
[recombinator](0) $</pre> | [recombinator](0) $</pre> | ||
==[[Subversion]] equivs== | |||
{|border="1" | |||
! goal | |||
! [[subversion]] | |||
! git | |||
|- | |||
| Add an external repository ''repo'' at point ''dir/path'' | |||
| <tt>svn propedit svn:ignore dir</tt>, and add <tt>path</tt> | |||
| <tt>git submodule add repo dir/path</tt> | |||
|} | |||
==Links== | ==Links== |
Revision as of 03:19, 28 January 2010
Here's a good crash course for subversion users.
Hosting
- GitHub provides pretty reasonable git hosting services; open source projects eat free.
- github-trac is a trac extension for working with GitHub
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) $
Subversion equivs
goal | subversion | git |
---|---|---|
Add an external repository repo at point dir/path | svn propedit svn:ignore dir, and add path | git submodule add repo dir/path |
Links
- Tv's "Git for Computer Scientists"
- tpope's "Note About Git Commit Messages" (2008-04-19)
- GitWiki's GitTips