This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [Archer] Re: [Archer] Question about archer branch managment
On Sun, 27 Feb 2011 19:17:52 +0100, Joel Brobecker wrote:
> > 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)
Thanks for the feedback, still in this case I believe the problem was
different:
> > $ 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 ..
+
> > $ 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 ..
> I think I didn't express myself clearly.
This is completely a mistake on my side. I tested something different than
what you said.
$ 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 ;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
It really works the way you say. I have updated the Wiki now:
http://sourceware.org/gdb/wiki/ArcherBranchManagement?action=diff&rev2=121&rev1=120
> All I was trying to say is
> that "x:x" in a "git push" command is equivalent to "x".
Yes, it is. I did not know it myself.
Thanks,
Jan