From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Worth Subject: Re: Making git disappear when talking about my code (was: Re: GIT vs Other: Need argument) Date: Wed, 25 Apr 2007 07:09:58 -0700 Message-ID: <87k5w07dft.wl%cworth@cworth.org> References: <20070417104520.GB4946@moonlight.home> <8b65902a0704170841q64fe0828mdefe78963394a616@mail.gmail.com> <200704171818.28256.andyparkins@gmail.com> <20070417173007.GV2229@spearce.org> <462521C7.2050103@softax.com.pl> <4627ABBB.8060709@softax.com.pl> <877is29b1l.wl%cworth@cworth.org> <7vps5ud91x.fsf@assigned-by-dhcp.cox.net> <87vefm7l6g.wl%cworth@cworth.org> <7v1wiabbfr.fsf@assigned-by-dhcp.cox.net> <87mz0w7g3j.wl%cworth@cworth.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Apr_25_07:09:58_2007-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , Marcin Kasperski , git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Wed Apr 25 16:10:30 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgiCU-0000WG-6x for gcvg-git@gmane.org; Wed, 25 Apr 2007 16:10:30 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752979AbXDYOK1 (ORCPT ); Wed, 25 Apr 2007 10:10:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754021AbXDYOK1 (ORCPT ); Wed, 25 Apr 2007 10:10:27 -0400 Received: from theworths.org ([217.160.253.102]:48321 "EHLO theworths.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979AbXDYOK0 (ORCPT ); Wed, 25 Apr 2007 10:10:26 -0400 Received: (qmail 19126 invoked from network); 25 Apr 2007 10:09:59 -0400 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 25 Apr 2007 10:09:59 -0400 In-Reply-To: <87mz0w7g3j.wl%cworth@cworth.org> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --pgp-sign-Multipart_Wed_Apr_25_07:09:58_2007-1 Content-Type: text/plain; charset=US-ASCII On Wed, 25 Apr 2007 06:12:32 -0700, Carl Worth wrote: > [2] I've just written some very fancy feature for our cool project > which you can see in gitweb at . To track this > branch, do "git remote add cworth ; git checkout --track > -b cworth/" if you already have some clone of > our project. Otherwise do "git clone ; git checkout > --track -b ". Please try it out and give me feedback. Oops. I just noticed that that last command is wrong. Instead of "git checkout --track -b " that should of course be "git checkout --track -b origin/". And no, I didn't intentionally botch that to be able to make a point. But now, I will make the point: the current syntax is hard to remember. It _is_ powerful, and I do personally use it and like it, (and if I made the mistake above at the command line it would have been obvious to me how to fix it, and would have been no big deal). So I'm not suggesting replacing any of the remote stuff---I'd just like to have something easier to suggest to people who aren't yet familiar with remotes and remote-tracking branches, (and something simple enough that I could get it right when writing an email without git around to complain if I botch the syntax). So I'd imagine "git track #" as being implemented directly with the existing remote stuff, (lookup and use an existing remote for if it exists, otherwise create a new one and name it with some mangling of , or complain politely if the mangling would clash with an existing remote with the same name but a different URL---which would be extremely unlikely). Anyway, as usual I seem to find myself with just enough time and motivation to talk about what I'd like, but not enough to code it up. So feel free to ignore me if you disagree, and please feel free to be inspired to code something up if you agree. And thanks to everyone that has worked to make git so excellent! -Carl --pgp-sign-Multipart_Wed_Apr_25_07:09:58_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGL2E26JDdNq8qSWgRAqCxAJwP76mVchZf5r+fn03EpGl86eg4LQCfUC2m wLg4VnlULcRBuadAUd7krFI= =ghQI -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Apr_25_07:09:58_2007-1--