githubtraining / introduction-to-github

Course repo for Learning Lab course "Introduction to GitHub". Template repo ➡️
https://github.com/githubtraining/caption-this-template
Creative Commons Attribution 4.0 International
77 stars 53 forks source link

Update the git clone link from https to ssh #74

Open mosescb opened 2 years ago

mosescb commented 2 years ago

Bug Report

Current behavior Currently in Step 4: Create a branch,

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 commented 2 years ago

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