From: Junio C Hamano <gitster@pobox.com>
To: Jay Soffian <jaysoffian@gmail.com>
Cc: Eugene Sajine <euguess@gmail.com>, Jeff King <peff@peff.net>,
git@vger.kernel.org
Subject: Re: git remote set-head not working?
Date: Fri, 18 Dec 2009 13:42:17 -0800 [thread overview]
Message-ID: <7veimst0w6.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <76718490912181328k5f87d82u499b7a1eba471126@mail.gmail.com> (Jay Soffian's message of "Fri\, 18 Dec 2009 16\:28\:35 -0500")
Jay Soffian <jaysoffian@gmail.com> writes:
> On Fri, Dec 18, 2009 at 12:38 PM, Eugene Sajine <euguess@gmail.com> wrote:
>> Yes. I was trying to change the HEAD on the bare remote (origin) repo
>> and the concept here is really confusing.
>
> The remote command is about updating things under .git/refs/remotes,
> not about updating a remote server. For updating a remote server,
> there is really only push. Clear as mud?
We still support (and unfortunately we would probably end up supporting
for a long time) "remote update" so it is not strictly true, but that is
the original motivation behind "git remote" subcommand.
> Understood. I'm not sure whether the send-pack/receive-pack protocol
> supports the notion of "I want to change what HEAD points to."
It does not support it, but that is not because there is a strong reason
it shouldn't.
next prev parent reply other threads:[~2009-12-18 21:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 16:25 git remote set-head not working? Eugene Sajine
2009-12-18 16:53 ` Jeff King
2009-12-18 17:38 ` Eugene Sajine
2009-12-18 21:28 ` Jay Soffian
2009-12-18 21:42 ` Junio C Hamano [this message]
2009-12-18 22:24 ` Jay Soffian
2009-12-18 23:55 ` Eugene Sajine
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=7veimst0w6.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=euguess@gmail.com \
--cc=git@vger.kernel.org \
--cc=jaysoffian@gmail.com \
--cc=peff@peff.net \
/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