Git Bash使用及下载githup库

1、windows下载

https://git-for-windows.github.io/

2、切换windows目录至相对应目录

登陆githup账号切换路径处理

3、检出至建立的文件夹

4、创建文件

5、增加全部文件

git add .

增加指定文件

git add test.php

6、提交文件

git commit -m " add test "

7、将你本地的仓库提交到你的github账号里

git push -u origin master  

此时会要求你输入你的github的账号和密码

8、添加邮箱至githup及用户名

git config --global user.email "***@126.com"
git config --global user.name "用户名"

 

posted @ 2017-07-25 18:56  北京小小鸟  阅读(200)  评论(0)    收藏  举报