From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28835 invoked by alias); 27 Feb 2011 18:28:39 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 28826 invoked by uid 22791); 27 Feb 2011 18:28:38 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Date: Sun, 27 Feb 2011 18:28:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: Pierre Muller , archer@sourceware.org Subject: Re: [Archer] Re: [Archer] Question about archer branch managment Message-ID: <20110227181752.GH2513@adacore.com> References: <00ab01cbd415$9e3e8410$dabb8c30$@muller@ics-cnrs.unistra.fr> <20110224113228.GE2513@adacore.com> <20110227175003.GA28937@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110227175003.GA28937@host1.dyn.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2011-q1/txt/msg00114.txt.bz2 > > Hmmm, I thought that > > > > $ git push origin archer-tromey-explosion-project > > > > would have worked right from the get go... > > Really not: (I don't know if I'm the only one feeling that way, but your style is insanely compact for my brain - it often takes a long time to understand what you're trying to say sometimes) > $ rm -rf 1 2;mkdir 1 2;cd 1;git init;touch f;git add f;git commit -m f f;cd ..;git clone 1 2;cd 2;git checkout -b x;git push origin ;cd ../1;git branch;cd .. > Switched to a new branch 'x' > Everything up-to-date > * master > but > $ rm -rf 1 2;mkdir 1 2;cd 1;git init;touch f;git add f;git commit -m f f;cd ..;git clone 1 2;cd 2;git checkout -b x;git push origin x:x;cd ../1;git branch;cd .. > Switched to a new branch 'x' > Total 0 (delta 0), reused 0 (delta 0) > To /tmp/gittest3/1 > * [new branch] x -> x > * master > x I think I didn't express myself clearly. All I was trying to say is that "x:x" in a "git push" command is equivalent to "x". I wasn't understanding the reasoning behind the instructions, but maybe I was missing something, or making the wrong assumption somewhere (I was assuming that Pierre named both local and remote branches with the same name). -- Joel