All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: should git push . from:to work?
Date: Fri, 02 Feb 2007 11:02:50 +0100	[thread overview]
Message-ID: <epv25o$tpm$1@sea.gmane.org> (raw)
In-Reply-To: 20070201150545.GA30858@mellanox.co.il

Michael S. Tsirkin wrote:

>> Quoting Johannes Schindelin <Johannes.Schindelin@gmx.de>:
>> Subject: Re: should git push . from:to work?

>> On Thu, 1 Feb 2007, Michael S. Tsirkin wrote:
>> 
>> > Should I not be able to use . as a URL?
>> > git push seems to think . is a remote, not a URL:
>> 
>> You seem to be infected by the less-than-intuitive
>> "git pull ."-makes-perfect-sense camp.
> 
> Not really, I don't really care.
> 
>> Why not just do "git branch to from"?
> 
> Because I want to update am existing local branch that is different from
> what I have checked out.

But git-branch does _not_ do checkout, so you can use it to manipulate
branches even if you are on different branch (even if you have different
branch checked out)!

Neither git-fetch not git-push understand '.' remote; git-pull was (and is)
special case to allow git-fetch+git-pull workflow.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

      reply	other threads:[~2007-02-02 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 14:56 should git push . from:to work? Michael S. Tsirkin
2007-02-01 15:00 ` Johannes Schindelin
2007-02-01 15:05   ` Michael S. Tsirkin
2007-02-02 10:02     ` Jakub Narebski [this message]

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='epv25o$tpm$1@sea.gmane.org' \
    --to=jnareb@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.