multiple branches in the same repo
Nate Finch
nate.finch at canonical.com
Tue Aug 12 09:13:08 UTC 2014
Nope, go get always gets "master" for git branches.
On Aug 12, 2014 4:25 AM, "roger peppe" <rogpeppe at gmail.com> wrote:
> Does that mean that "go get" will fetch the default branch
> when provided with the github path? Until
> http://golang.org/s/go14customimport
> happens, I'm not entirely sure that's a good idea. That's the
> reason I didn't do it in github.com/juju/charm; I'm willing
> to be persuaded though :-)
>
> cheers,
> rog.
>
> On 11 August 2014 19:44, Nate Finch <nate.finch at canonical.com> wrote:
> > Some of our repos have multiple branches specifically for versioning via
> > gopkg.in... it would be nice if the "default" branch in github were the
> > "current" version, so when you go to look at the repo online, you're
> looking
> > at the version that should be currently used. That way the activity etc
> > will correctly reflect what's going on with the repo, and not some branch
> > that is effectively abandoned.
> >
> > To do this, just go to the settings for the repo and set the default
> branch
> > in the dropdown.
> >
> >
> >
> > --
> > Juju-dev mailing list
> > Juju-dev at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/juju-dev
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140812/56019e35/attachment.html>
More information about the Juju-dev
mailing list