git以及github的使用
1.远程
1.创建github账户,牢记你的用户名,邮箱,密码
2.创建远程仓库
1.安装
windows下载地址:https://git-for-windows.github.io/
linux下载:sudo apt-get install git
2.检测是否安装成功
git - -version
3.按照如下命令操作
4.第二次上传的时候直接执行
git add *
git commit -m "secondcommit"
git push -u origin master
5.在提交的过程中可能会叫你配置全局用户名和邮箱
config --global user.name "你的用户名"
config --global user.email "你的邮箱"