git faq : draft and rfc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Riboulet
Date: Wednesday, February 15, 2006 - 5:36 pm

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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git faq : draft and rfc, Thomas Riboulet, (Wed Feb 15, 5:36 pm)
Re: git faq : draft and rfc, Martin Langhoff, (Wed Feb 15, 9:04 pm)
Re: git faq : draft and rfc, Alan Chandler, (Thu Feb 16, 12:50 am)
Re: git faq : draft and rfc, Johannes Schindelin, (Thu Feb 16, 6:22 am)
Re: git faq : draft and rfc, Bertrand Jacquin, (Thu Feb 16, 6:38 am)
Re: git faq : draft and rfc, Johannes Schindelin, (Thu Feb 16, 8:00 am)
Re: git faq : draft and rfc, Petr Baudis, (Thu Feb 16, 8:18 am)
Re: git faq : draft and rfc, Thomas Riboulet, (Thu Feb 16, 4:52 pm)
[PATCH] Convert the git faq to asciidoc, Jonas Fonseca, (Sun Feb 19, 6:45 pm)
Re: [PATCH] Convert the git faq to asciidoc, Thomas Riboulet, (Mon Feb 20, 4:14 am)
Re: git faq : draft and rfc, Bertrand Jacquin, (Mon Feb 20, 6:30 am)
Re: git faq : draft and rfc, Bertrand Jacquin, (Mon Feb 20, 6:41 am)