Re: Getting new branches from remote repo.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]