上传项目到github上

1. 登录github后,在主页new repository一个新项目,填写Repository name和Description
2. Create repository后生产git地址https://github.com/username/xxx.git
3. 在要上传的工程master下(工程里面目录),右键—>GitBash
4. git init
5. git add . -A
6. git commit -m "更新说明"
7. git remote add origin https://github.com/username/xxx.git
8. git push -u origin master
github 账号与密码:
username: xxxx
pwd: xxxx

posted @ 2017-09-08 09:01  zhaoqingyue  阅读(105)  评论(0编辑  收藏  举报