github上添加新资源

按以下简单步骤就可以了
打开 Gti Bash ,先 cd 到待提交的 resp 目录下

git init
git add .
git remote add origin [email protected]: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

你可能感兴趣的:(github上添加新资源)