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

git faq : draft and rfc

From
Thomas Riboulet <riboulet@gmail.com>
Date
Feb 16, 2006, 00:36 UTC
Message-ID
<22e91bb0602151636r2e70e60cpa5038f4b6caccc9c@mail.gmail.com>
hi,

After a quick talk on irc with pasky, fonseca and Tv, I've started to write a git faq starting with questions I had and they have suggested.

I've setted up a git repos : http://git.librium.org/git_faq.git (atm it's on my DSL link, so it could be slow, should move soon)

The faq is available in both docbook xml and text format (don't know what you prefer). You can see the html output there : http://koalabs.org/~ange/git_faq/faq.html and the text file : http://koalabs.org/~ange/git_faq/faq.txt if needed I can write specific xsl stylesheets to handle better or more suited output.

Comments and suggestions are welcome (on the content, the form, format, etc ...) I'll try to add questions from the archives of this ml, I'm also open to any suggestions.

Here is a first (text) version : ----

. Why the 'git' name ?
As Linus' own words as the inventor of git :
"git" can mean anything, depending on your mood.
  - random three-letter combination that is pronounceable, and not
    actually used by any common UNIX command.  The fact that it is a
    mispronunciation of "get" may or may not be relevant.
  - stupid. contemptible and despicable. simple. Take your pick from the
    dictionary of slang.
  - "global information tracker": you're in a good mood, and it actually
    works for you. Angels sing, and a light suddenly fills the room.
  - "goddamn idiotic truckload of sh*t": when it breaks

. Can I use my git public repository in a shared way ? Yes. Use cg-admin-setuprepo -g or do git-init-db --shared and some additional stuff. It's ok that refs aren't group writable, it's enough the directory is. See Cogito README or GIT's cvs-migration doc, "Emulating the CVS Development Model" for details.

. Git commit is dying telling me "fatal : empty ident <user@myhost> not allowed", what's wrong ? Make sure your Full Name is not empty in chsh or the 5th field of your user line in /etc/passwd isn't empty. If you @myhost is empty make sure your hostname is correctly set.

. What's the difference between fetch and pull ? Fetch : download objects and a head from another repository. Pull : pull and merge from another repository. See man git-fetch and git-pull for more.

. Can I tell git to ignore files ? Yes. Put the files path in the repository in the .git/info/exclude file.

. Can I import from cvs ? Yes. Use git-cvsimport. See the cvs-migration doc for more details.

. Can I import from svn ? Yes. Use git-svnimport. See the svn-import doc for more details.

. What can I use to setup a public repository ? A ssh server, an http server, or the git-daemon. See the tutorial for more details.

-- Thom/ange

Next: Martin Langhoff
Message 1 of 12 in “git faq : draft and rfc”
  1. Thomas RibouletFeb 16, 2006
  2. Martin LanghoffFeb 16, 2006
  3. Johannes SchindelinFeb 16, 2006
  4. Bertrand JacquinFeb 16, 2006
  5. Johannes SchindelinFeb 16, 2006
  6. Alan ChandlerFeb 16, 2006
  7. Petr BaudisFeb 16, 2006
  8. Thomas RibouletFeb 16, 2006
  9. Bertrand JacquinFeb 20, 2006
  10. Bertrand JacquinFeb 20, 2006
  11. Convert the git faq to asciidocJonas Fonseca, Feb 20, 2006
  12. Thomas RibouletFeb 20, 2006

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.