Dnia 2016-10-12, o godz. 02:37:16
Thomas Modeneis <[email protected]> napisaĆ(a):
> You are not currently on a branch. Please specify which
> branch you want to merge with. See git-pull(1) for details.
This is common to freshmen to get a checkout of some tag then
forget they did it. This is a root cause of update fails.
> Oh this is one of the problems that is really time consuming. I'm not sure
> if this is related, but I've never had this kind of problems before +1.7.
Do you use any half-baked 'pkg versioning' tool?
If you did not checked by hand, such tool may be a culprit.
> Any ideas ?
Better education?
OK. Go get docs should have a warning box in red flash:
[ Either learn about git usage or never ever tinker within
$GOPATH/src/github.com. If go get -u barks on you with 'You are
not currently on a branch' message, cd into the mentioned directory and do:
'git checkout master' there. After that you may do 'go get -u' again. Rinse
and repeat. ]
--
Wojciech S. Czarnecki
^oo^ OHIR-RIPE
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.