First Post, Kinda Nervous.. Question about SSH #135712
Replies: 3 comments
-
U can clone a repository using the HTTPS link. Its like "https://github.com/USER/REPO_NAME" Just go at your CMD or terminal, navegates to the folder u want to clone and type "git clone https://github.com/USER/REPO_NAME" |
Beta Was this translation helpful? Give feedback.
-
GitHub uses SSH as a way to authenticate when cloning, similar to if you cloned using HTTPS with an auth token. This can ensure that you're able to clone repositories that you have access to. Everyone has access to read public repositories -- you don't even need a GitHub account to clone a public repository. But you do need access to push to a repository (write access) that you don't own. This is accomplished by the owner giving you access, for example by inviting you as a collaborator. Or, if the repository is private, you'll need to be granted access to clone (read access). |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hello everyone,
I have just completed generating and adding an SSH key to my local device and cloning a repository via VS Code.
Now, I have just cloned a public repository from a different user also using SSH.
I'm wondering how it's possible to clone someone else's repository without adding their SSH key? Is it just a simple setting you can switch?
I am quite new to this but am learning lots. Thanks in advance for anyone reading! :)
Beta Was this translation helpful? Give feedback.
All reactions