<p dir="ltr">Nope, go get always gets "master" for git branches.</p>
<div class="gmail_quote">On Aug 12, 2014 4:25 AM, "roger peppe" <<a href="mailto:rogpeppe@gmail.com">rogpeppe@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does that mean that "go get" will fetch the default branch<br>
when provided with the github path? Until <a href="http://golang.org/s/go14customimport" target="_blank">http://golang.org/s/go14customimport</a><br>
happens, I'm not entirely sure that's a good idea. That's the<br>
reason I didn't do it in <a href="http://github.com/juju/charm" target="_blank">github.com/juju/charm</a>; I'm willing<br>
to be persuaded though :-)<br>
<br>
cheers,<br>
rog.<br>
<br>
On 11 August 2014 19:44, Nate Finch <<a href="mailto:nate.finch@canonical.com">nate.finch@canonical.com</a>> wrote:<br>
> Some of our repos have multiple branches specifically for versioning via<br>
> gopkg.in... it would be nice if the "default" branch in github were the<br>
> "current" version, so when you go to look at the repo online, you're looking<br>
> at the version that should be currently used. That way the activity etc<br>
> will correctly reflect what's going on with the repo, and not some branch<br>
> that is effectively abandoned.<br>
><br>
> To do this, just go to the settings for the repo and set the default branch<br>
> in the dropdown.<br>
><br>
><br>
><br>
> --<br>
> Juju-dev mailing list<br>
> <a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at:<br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
><br>
</blockquote></div>