github配置和git学习

参考:http://www.eoeandroid.com/thread-272837-1-1.html

http://blog.csdn.net/hcbbt/article/details/11651229

1.添加ssh-key 折腾很久就是没有用命令把内容复制好,按照官网教程还是靠谱呀 https://help.github.com/articles/generating-ssh-keys/

2.配置git中用户信息

git config --global user.name "your name"  

git config --global user.email "[email protected]" 

3.在github建库,然后git clone 库

4.提交、上传

git add README

git commit -m "first commit"

git push origin master  

  

你可能感兴趣的:(github)