Re: Getting new branches from remote repo.

From: Alexander Litvinov <litvinov2004@gmail.com>
Date: 2006-11-13 16:29:25
> After finding out $that_new_branch's name, add either
>
>         Pull: refs/heads/$that_new_branch:refs/heads/$that_new_branch

> You would still see them if you say "ls-remote" without --heads.

Thanks for help, these commands solve my trouble:
1. Get remote branches by 'git ls-remote origin refs/remotes/*'
2. Fetch needed branch by adding: 'Pull:
refs/remotes/origin/BRANCH:refs/heads/BRANCH' into .git/remotes/origin

Is there any way to automaticly edit .git/remotes/origin before
fetching changes from remote repo by the result of git ls-remote ?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Nov 13 16:40:47 2006

This archive was generated by hypermail 2.1.8 : 2006-11-13 16:44:23 EST