create key on local
原文
https://blog.csdn.net/qq_38163309/article/details/105335097
cd ~
cd .ssh/
ssh-keygen -t rsa -C 397244702@qq.com (你的github邮箱地址)
create ssh key on github
cp public key to github sshkey
or create a new repository on the command line
echo “# yii_basic” >> README.md
git init
git add README.md
git commit -m “first commit”
git branch -M main
git remote add origin git@github.com:looptoto/yii_basic.git
git push -u origin main