Git

github上添加新资源

2015-11-26  本文已影响0人  F6

按以下简单步骤就可以了
打开 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

上一篇 下一篇

猜你喜欢

热点阅读