This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [Archer] Question about archer branch managment
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>, archer at sourceware dot org
- Date: Sun, 27 Feb 2011 18:50:03 +0100
- Subject: Re: [Archer] Question about archer branch managment
- References: <00ab01cbd415$9e3e8410$dabb8c30$@muller@ics-cnrs.unistra.fr><20110224113228.GE2513@adacore.com>
On Thu, 24 Feb 2011 12:32:28 +0100, Joel Brobecker wrote:
> Hmmm, I thought that
>
> $ git push origin archer-tromey-explosion-project
>
> would have worked right from the get go...
Really not:
$ 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
Regards,
Jan