From: Jakub Narebski Date: Fri, 02 Feb 2007 10:02:50 GMT Subject: Re: should git push . from:to work? Message-ID: In-Reply-To: <20070201150545.GA30858@mellanox.co.il> Michael S. Tsirkin wrote: >> Quoting Johannes Schindelin : >> 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