[note] jingxuanz; 200903; begin ch0; done: git clone; confused about SSH key

蟒营™学习笔记

09/03/2020 d1

What I did/ Progress notes

  • checked if git is installed on my laptop/ the version of it.
    Type in terminal:
    git --verison

  • used 'mkdir' to make a new folder as my directory for all cloned git repositories

  • discovered command 'say' to make the computer say anything! Super fun.
    Type in terminal:
    say "anything here"

  • cloned playground repository to my local newly made foder "jingxuanz".
    Type in terminal:
    git clone https://gitlab.com/101camp/12py/playground.git
    Then I can use "cat" to examine the only README.md file in it.

TO-DO

  • Add SSH key and GIT PUSH

Questions/Issues

  1. When using "git clone" by SSH, I got an error msg:

git clone git@gitlab.com:101camp/12py/playground.git Cloning into 'playground'... The authenticity of host 'gitlab.com (2606:4700:90::f22e:fbec:5bed:a9b9)' can't be established. ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw. Are you sure you want to continue connecting (yes/no)?

I assume it is because I haven't added any SSH key to my account? When using https to clone, it worked perfectly.

  1. How do you see if you have an existing SSH? I tried '.ssh/' as suggested in

https://gitlab.com/help/ssh/README#common-steps-for-generating-an-ssh-key-pair but nothing is shown...

  1. This is a test drive for taking notes of my everyday study. Any thoughts/feedback? Thank uuu <3

refer

[place holer]

logging:

  • 200903 JZ init.