From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Claudio Scordino <cloud.of.andor@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Suggestions for documentation
Date: Tue, 19 Jun 2007 10:47:53 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0706191043170.4059@racer.site> (raw)
In-Reply-To: <467786B1.5000009@gmail.com>
Hi,
On Tue, 19 Jun 2007, Claudio Scordino wrote:
> 1) As my previous question shown, how to clone from a specified port is not
> currently documented. You should just add a sentence saying that the command
> is
>
> git clone git://server:port/path/
I thought this was quite standard with other protocol? I.e.
http://host:port/path is what I do all the time.
Having said that, this should be relatively easy? Want to give it a try?
> 2) Maybe it is better to highlight that after a push on a remote
> repository, the user has to do a checkout on that repository (people
> from the CVS and SVN worlds get easily confused, otherwise).
That has been discussed on and off, and I think that you are not using a
valid workflow here. If you are pushing into another repo, _by definition_
you do not have a work tree to resolve conflicts with.
Thus, you should rather do something like "push upstream
master:refs/heads/push" on the pushing side, and "merge push" on the other
side.
It is a common behaviour by former CVS users (I did the same!), but it is
fixable.
> Moreover (and I did not fully understood why) if I just use "git
> checkout" without the -f option, I cannot see the changes that have been
> pushed from the cloned repository.
Same reason. This is not a valid workflow. You kind of changed the tip of
the branch in the pushed-to repo behind its back. The only way to make
this work that I am aware of is "git read-tree -m -u HEAD", but as I
stated before, you probably want to change the way you're working.
Hth,
Dscho
next prev parent reply other threads:[~2007-06-19 9:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 7:33 Suggestions for documentation Claudio Scordino
2007-06-19 9:47 ` Johannes Schindelin [this message]
2007-06-20 21:06 ` Luiz Fernando N. Capitulino
2007-06-21 11:24 ` Claudio Scordino
2007-06-21 15:16 ` Jakub Narebski
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=Pine.LNX.4.64.0706191043170.4059@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=cloud.of.andor@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).