introduction-to-github
introduction-to-github copied to clipboard
Update the git clone link from https to ssh
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:
- Go to Step 4: Create a branch -> Clone the repo with https based link as shown there -> 5. Push the branch to GitHub
- Execute the command in 5. Push the branch to GitHub:
- Enter Credentials
- 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

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