The first step you need to install git a good tool, the venue's official website to download git official website
Create Repository
- Create an empty folder (My Documents repository name is called gitlib)
- mkdir gitlib
- CD gitlib
- git init (the gitlib this folder can become git file management folder)
- From a remote library clones project to git repository (dxc1995 my github name, find_douban_movies_name is the project name)
- git clone [email protected]:dxc1995/find_douban_movies_name.git ①
The following error after running ①
问题描述:The authenticity of host 'github.com (52.74.223.119)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,52.74.223.119' (RSA) to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
The make the Sure you have have at The Please correct Access Rights
and at The Repository EXISTS.
Problem Cause: Github and ssh connection requires a key
solution: log in to your github repository project enters into the setting ---- ---- deploy keys ( Deploy keys)