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

Re: Git in a Nutshell guide

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Nov 19, 2007, 22:01 UTC
Message-ID
<Pine.LNX.4.64.0711191617150.12193@iabervon.org>
In-Reply-To
<3057F6F3-BEAA-447A-AB79-A0AFB7DB8826@lrde.epita.fr>
On Mon, 19 Nov 2007, Benoit Sigoure wrote:
Show 19 quoted lines
> On Nov 19, 2007, at 5:14 PM, Jonas Juselius wrote:
> >On Mon, 2007-11-19 at 17:05 +0100, Jakub Narebski wrote:
> > >Do I understand correctly that you don't support cloning via git://
> > >protocol?
> >
> >Yes, that is correct. The machine is behind a number of firewalls, and I
> >simply cannot be bothered to go through the bureaucracy...
> 
> You can create a repository on repo.or.cz then :)
> 
> As it is often the case different people happen to work on similar things
> without knowing each other.  I started http://repo.or.cz/w/tutorial.git which
> is meant to be a big Beamer presentation that presents Git thoroughly.  I
> wrote some ideas but didn't start to write the slides.  Just in case you want
> to have a look.
> 
> One of the things you said in your guide is that Git is easy to learn.  I
> think this is wrong.  Git is way more complicated than most other SCMs,
> especially compared to SVN.

I convinced my little company to switch to git (from arch, so take this with a grain of salt). I'd previously written a document explaining how to use arch, and I wrote a version for git, which said practically nothing, because everything I'd been able to do in arch is trivial to do in git. But I used the same format, anyway, to be sure to cover everything. I also told them to ask me if they were trying to do something and couldn't. I believe that all of the questions I've gotten were on how to use "advanced features" (i.e., things not included in my document because I never figured out how to do them with arch and decided to just live without), and people are using git successfully.

The main difference I see is that "save" and "publish" are separate operations with git and the same with other SCMs, but the separate concepts are obvious to anybody who's emailled a word processor document to somebody, and the distinction just has to be mentioned.

The challenge in writing a good introduction to git is leaving out explanations of all of the wonderful things that git can do that people don't expect to be within the abilities of an SCM. If you limit yourself to saying how to do things that SCMs can traditionally do, and therefore only explain how to do what people know they want to do, it's not to hard for people to learn. Of course, that's not enough to make good use of git, but it's enough to declare a transition from SVN or CVS successful.

I personally think it would be worth having a pair of documents, with the first being "everything you need to know", and the second being "things you'll find helpful that aren't strictly necessary".

	-Daniel
*This .sig left intentionally blank*
Previous: Benoit SigoureNext: Jonas Juselius
Message 12 of 40 in “Git in a Nutshell guide”
  1. Jonas JuseliusNov 19, 2007
  2. Jakub NarebskiNov 19, 2007
  3. Jonas JuseliusNov 19, 2007
  4. David KågedalNov 22, 2007
  5. Jakub NarebskiNov 23, 2007
  6. Brian DowningNov 19, 2007
  7. Brian DowningNov 19, 2007
  8. Nicolas PitreNov 19, 2007
  9. Jakub NarebskiNov 19, 2007
  10. Jonas JuseliusNov 19, 2007
  11. Benoit SigoureNov 19, 2007
  12. Daniel BarkalowNov 19, 2007
  13. Jonas JuseliusNov 20, 2007
  14. Jakub NarebskiNov 20, 2007
  15. Jan HudecNov 21, 2007
  16. Jakub NarebskiNov 21, 2007
  17. jhud7196@artax.karlin.mff.cuni.czNov 22, 2007
  18. Jonas JuseliusNov 22, 2007
  19. Jonathan del StrotherNov 22, 2007
  20. Johannes SchindelinNov 22, 2007
  21. jhud7196@artax.karlin.mff.cuni.czNov 22, 2007
  22. Lars HjemliNov 19, 2007
  23. Jonas JuseliusNov 19, 2007
  24. Benoit SigoureNov 19, 2007
  25. Lars HjemliNov 19, 2007
  26. Benoit SigoureNov 19, 2007
  27. J. Bruce FieldsNov 19, 2007
  28. Matthieu MoyNov 19, 2007
  29. Doc fix for git-reflog: mention @{...} syntax, and <ref> in synopsys.Matthieu Moy, Nov 19, 2007
  30. Junio C HamanoNov 19, 2007
  31. Doc fix for git-reflog: mention @{...} syntax, and <ref> in synopsys.Matthieu Moy, Nov 19, 2007
  32. Matthieu MoyNov 19, 2007
  33. Benoit SigoureNov 19, 2007
  34. Matthieu MoyNov 19, 2007
  35. Benoit SigoureNov 19, 2007
  36. J. Bruce FieldsNov 19, 2007
  37. Junio C HamanoNov 19, 2007
  38. Matthieu MoyNov 19, 2007
  39. Junio C HamanoNov 19, 2007
  40. Matthieu MoyNov 19, 2007

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.