Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Update the git clone link from https to ssh #74

Open
mosescb opened this issue Dec 23, 2021 · 1 comment
Open

Update the git clone link from https to ssh #74

mosescb opened this issue Dec 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mosescb
Copy link

mosescb commented Dec 23, 2021

Bug Report

Current behavior
Currently in Step 4: Create a branch,

  • 2.Clone this repository: It shows a https based link which is kinda obsolete to push changes to remote(Since Aug 13 2021, user id + password based authentication is dropped). So, when we try to push it asks for username and password and it fails.

Reproduction
Steps to reproduce the behavior in the course:

  1. Go to Step 4: Create a branch -> Clone the repo with https based link as shown there -> 5. Push the branch to GitHub
  2. Execute the command in 5. Push the branch to GitHub:
  3. Enter Credentials
  4. See error

Expected behavior
Show ssh based URL for clone, git push should work fine then.

Possible solution
Provide ssh based clone URL and ask the user to setup ssh keys as that's the Github way of doing it anyhow now.

Additional context
image

@mosescb mosescb added the bug Something isn't working label Dec 23, 2021
@mosescb
Copy link
Author

mosescb commented Dec 23, 2021

introduction-to-github/responses/03_create-a-branch.md : git clone {{ thePayload.repository.clone_url }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant