From: Thomas Riboulet <riboulet@gmail.com>
To: git@vger.kernel.org
Subject: git faq : draft and rfc
Date: Thu, 16 Feb 2006 01:36:20 +0100 [thread overview]
Message-ID: <22e91bb0602151636r2e70e60cpa5038f4b6caccc9c@mail.gmail.com> (raw)
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 reply other threads:[~2006-02-16 0:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-16 0:36 Thomas Riboulet [this message]
2006-02-16 4:04 ` git faq : draft and rfc Martin Langhoff
2006-02-16 13:22 ` Johannes Schindelin
2006-02-16 13:38 ` Bertrand Jacquin
2006-02-16 15:00 ` Johannes Schindelin
2006-02-16 7:50 ` Alan Chandler
2006-02-16 15:18 ` Petr Baudis
2006-02-16 23:52 ` Thomas Riboulet
2006-02-20 13:30 ` Bertrand Jacquin
2006-02-20 13:41 ` Bertrand Jacquin
2006-02-20 1:45 ` [PATCH] Convert the git faq to asciidoc Jonas Fonseca
2006-02-20 11:14 ` Thomas Riboulet
-- strict thread matches above, loose matches on Subject: below --
2006-02-16 14:32 git faq : draft and rfc Jon Loeliger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22e91bb0602151636r2e70e60cpa5038f4b6caccc9c@mail.gmail.com \
--to=riboulet@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).