按以下简单步骤就可以了
打开 Gti Bash ,先 cd 到待提交的 resp 目录下
git init
git add .
git remote add origin git@github.com:githubUsername/respname.git
ssh-keygen -t rsa
#cat id_rsa.pub ,add the ssh key to https://github.com/settings/ssh , your github account -> settings -> SSH keys
git commit -m "commit"
git push -u origin master
#add a new github resp , that is all
网友评论