[m-rev.] Converting to Git.
Paul Bone
paul at bone.id.au
Fri Jan 4 10:04:15 AEDT 2013
On Thu, Jan 03, 2013 at 02:55:30PM +1100, Peter Wang wrote:
> On Thu, 3 Jan 2013 14:51:16 +1100, Paul Bone <paul at bone.id.au> wrote:
> >
> > So shall I begin working with/committing to "mercury"?
>
> By all means!
Hi Peter.
I'm having some trouble with the new repository.
First, you created it with only the master branch, then I did "git clone ...
--bare" to get a copy. Which is when I noticed that there were no other
branches or tags.
I use both "git branch -a" or "git branch -r" to list my remote tracking
branches. I know that "git branch" will not show them.
Then you added the other branches and tags.
Then I did git fetch and still didn't get the branches. But git fetch
--tags did give me the tags. (both using --all (all remotes) and naming the
remote explicitly).
I've re-created the remote and checked it's configuration and still I cannot
get it's remote branches.
I finally had some success when I asked github to fork the whole repository
and then I cloned the forked repository.
My remotes are now:
[remote "origin"]
url = git at github.com:Mercury-Language/mercury.git
fetch = +refs/heads/*:refs/remotes/origin/*
tagopt = --tags
[remote "github-paul"]
url = git at github.com:PaulBone/mercury.git
fetch = +refs/heads/*:refs/remotes/github-paul/*
tagopt = --tags
And "git fetch --all" retrieves the remote tracking branches for github-paul
but not for origin. Have I made a mistake or is there a problem with the
main repository?
Thanks.
--
Paul Bone
http://www.bone.id.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20130104/fb2febbc/attachment.sig>
More information about the reviews
mailing list