Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error down load the project from git #6

Closed
xeccgtt opened this issue Dec 13, 2016 · 7 comments
Closed

Error down load the project from git #6

xeccgtt opened this issue Dec 13, 2016 · 7 comments

Comments

@xeccgtt
Copy link

xeccgtt commented Dec 13, 2016

We are trying to execute go get -u github.com/prometheus/client_golang on a windows 7 PC. WE are getting the following error,

It appears that https://github.com/prometheus/client_golang/info/refs is a broken link.

Do ou have any insight on what we aredoing wrong.

M:\APM\mq_promo_monitoring>go get -u github.com/prometheus/client_golang

cd .; git clone https://github.com/prometheus/client_golang M:\APM\mq_promo_monitoring\src\github.com\prometheus\clien

t_golang
Cloning into 'M:\APM\mq_promo_monitoring\src\github.com\prometheus\client_golang'...
fatal: https://github.com/prometheus/client_golang/info/refs not valid: is this a git repository?
package github.com/prometheus/client_golang: exit status 128

@ibmmqmet
Copy link
Collaborator

Perhaps because your command is missing the final "prometheus".

go get -u github.com/prometheus/client_golang/prometheus

That works fine for me.

@xeccgtt
Copy link
Author

xeccgtt commented Dec 14, 2016 via email

@xeccgtt
Copy link
Author

xeccgtt commented Dec 14, 2016 via email

@ibmmqmet
Copy link
Collaborator

The README in the root of this repo contains fuller instructions on downloading various components. Possibly you need to rerun from an empty directory - anything hanging around from a previous attempt may be confusing the clone process, since your error message still refers to a parent directory. As I said, running that get -u command worked this morning on my system.

@xeccgtt
Copy link
Author

xeccgtt commented Dec 14, 2016 via email

@ibmmqmet
Copy link
Collaborator

All I can imagine is you've got a bad (perhaps downlevel?) git program.

My Windows system has
git --version
git version 2.9.0.windows.1

Googling for the error message has several suggestions. But versioning appeared to be the most common cause.

@xeccgtt
Copy link
Author

xeccgtt commented Dec 14, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants