极其简化版的git使用教程,分享给大家,几乎可以不管怎么回事直接用。
git教程(廖雪峰)(简单,容易理解,appstore还有离线版就是要钱,)推荐看一下顺便操作一下https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000
github:https://github.com
gitee:https://gitee.com 码云 好处全中文不花钱建立私人仓库
git init
git add .
git commit -m "提交说明"
git remote add origin git@github.com:用户名/项目名.git
git push origin master
提交说明一定要写,还要写的很详细,不要嫌废话多。无数血的事实证明不写这东西自己都想揍自己。
https://www.cnblogs.com/kevingrace/p/5690241.html gitignore教程,防止提交一堆不需要的东西 http://uusama.com/542.html