git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: do you recommend "git" (over svn) for a 1-person team???

From
Jakub Narebski <jnareb@gmail.com>
Date
Jan 30, 2009, 12:46 UTC
Message-ID
<m3y6wtvu4j.fsf@localhost.localdomain>
In-Reply-To
<d30068860901281725t14d19c1vc0557182bca3eb8d@mail.gmail.com>
Greg Hauptmann <greg.hauptmann.ruby@gmail.com> writes:
> Do you recommend "git" (over svn) for a 1-person team???   (the
> ability to commit while offline on my laptop sounds potentially
> enough reason)
Beside much easier (I think) sync between desktop and offline laptop?

You don't need to setup Subversion server (even if it is setting up place for repositories): "git init" is enough (and you can use filesystem, or bundles, or ssh for sync).

You don't have '.svn' in each directory, but one '.git' at the top directory of your project (module).

You have (from what I have read) better support for file renames, better support for binary files, and much easier merging branches (before Subversion 1.5 you had to use third party tools (SVK or svnmerge) to not have to do merges "manually", and even now the support for easy merging is IMHO worse in SVN).

You have all those nifty tools like git-bisect, git-log with --grep and -S (pickaxe), git-mergetool, git-blame which follows code movement at request (see e.g. "git gui blame"), git-stash, incremental comitting, comitting part of changes, etc.

What Subversion has over Git (becuase it is longer) is better tools...
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: david@lang.hm
Message 12 of 12 in “Re: do you recommend "git" (over svn) for a 1-person team???”
  1. Greg HauptmannJan 29, 2009
  2. Sverre RabbelierJan 29, 2009
  3. Ted PavlicJan 29, 2009
  4. James PickensJan 29, 2009
  5. Martin LanghoffJan 29, 2009
  6. Greg HauptmannJan 29, 2009
  7. Ted PavlicJan 29, 2009
  8. Jeff KingJan 29, 2009
  9. Ted PavlicJan 29, 2009
  10. Garry DolleyJan 29, 2009
  11. david@lang.hmJan 29, 2009
  12. Jakub NarebskiJan 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.