From: Thomas Riboulet <riboulet@gmail.com>
To: git@vger.kernel.org
Subject: Re: git faq : draft and rfc
Date: Fri, 17 Feb 2006 00:52:36 +0100 [thread overview]
Message-ID: <22e91bb0602161552k3f88b98fu4ef2a4c97c840ad7@mail.gmail.com> (raw)
In-Reply-To: <20060216151826.GS31278@pasky.or.cz>
On 2/16/06, Petr Baudis <pasky@suse.cz> wrote:
> Dear diary, on Thu, Feb 16, 2006 at 01:36:20AM CET, I got a letter
> where Thomas Riboulet <riboulet@gmail.com> said that...
> > . 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.
>
> Please also mention GIT_AUTHOR_NAME; chsh may be frequently unavailable.
ok
>
> > . 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.
>
> This could do with a little more elaboration as well. Nice inspiration
> might be <Pine.LNX.4.64.0602140845080.3691@g5.osdl.org>.
ok, I'll as soon as I manage to get it :/
>
> > . Can I tell git to ignore files ?
> > Yes. Put the files path in the repository in the .git/info/exclude file.
>
> Or .gitignore in the tree itself. .git/info/exclude is only for your
> particular checkout while .gitignore is what matters for all and
> everyone's checkouts of the project.
>
ok, added
> > . 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.
>
> Well this is about how to make it available, not how to use it.
>
> The repository should be set up by cg-admin-setuprepo or git-init-db
> --shared and normally does not have a working tree attached. You can
> fetch from such a repository either over:
>
> * the GIT protocol (you need to run git-daemon)
> * SSH (you can set up a git-use-only account using git-shell)
> * rsync (has important disadvantages but it is currently the
> fastest way to do the initial checkout)
> * or the HTTP protocol (any reasonable webhosting will do, but
> you need to run git-update-server-info after each repository
> update; if you used cg-admin-setuprepo to set it up, this
> will be done automatically, otherwise you may enable it in
> the post-update hook - see .git/hooks/post-update).
>
> You can push to such a repository over:
>
> * SSH
> * HTTP DAV (you will need to specially configure your HTTP
> server for this)
>
> Obviously, you can also fetch/push from/to a repository locally if it
> is available in the local filesystem structure.
>
the initial aim of that question was simply to tell svn people (and
others) what can be used to setup a public repos.
isn't it a bit too much for a faq ? maybe add some things to the
present answer and put this question in the "general questions"
section (see below), and add more details in the "usage" section ?
> --
> Petr "Pasky" Baudis
> Stuff: http://pasky.or.cz/
> Of the 3 great composers Mozart tells us what it's like to be human,
> Beethoven tells us what it's like to be Beethoven and Bach tells us
> what it's like to be the universe. -- Douglas Adams
>
ok added (and pushed) the :
- taylor qa
- the git import bk qa
- GIT_AUTHOR_NAME
I'll separate the questions between the following sections :
- general questions (who, when, where, ...)
- usage : commands, errors ...
I'm planning on removing the text format faq and handle it as I handle
the html one : through the docbook. ok ?
--
Thom/ange
next prev parent reply other threads:[~2006-02-16 23:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-16 0:36 git faq : draft and rfc Thomas Riboulet
2006-02-16 4:04 ` 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 [this message]
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=22e91bb0602161552k3f88b98fu4ef2a4c97c840ad7@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).