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

Can not clone the code #1

Closed
pingyangtiaer opened this issue Feb 15, 2019 · 1 comment
Closed

Can not clone the code #1

pingyangtiaer opened this issue Feb 15, 2019 · 1 comment

Comments

@pingyangtiaer
Copy link

When I tried to run the following commands:
git clone [email protected]:PacktPublishing/Hands-on-Microservices-with-Python.git frontend.git
git clone [email protected]:PacktPublishing/Hands-on-Microservices-with-Python-User-Service.git user_service.git
git clone [email protected]:PacktPublishing/Hands-on-Microservices-with-Python-Product-Service.git product_service.git
git clone [email protected]:PacktPublishing/Hands-on-Microservices-with-Python-Order-Service.git order_service.git

it gave me the errors:
"""
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
"""
Would you please let me know how to clone the above code?

@MurtazaTinwala
Copy link

MurtazaTinwala commented Feb 15, 2019

Hi @pingyangtiaer

It seems your Git is not set up properly as it's not getting connected to the server.
There are 2 methods through which you can connect.

  1. Connecting over HTTPS (recommended)
  2. Connecting over SSH

Please refer the official documentation: https://help.github.com/articles/set-up-git/

An alternative way which I would recommend is to try using GitHub Desktop application: https://desktop.github.com/

Just setup the application with your credentials and then Clone repository with URL through the interface.

Regards,

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

No branches or pull requests

2 participants