标签:git mit 版本 git add https 新建 color 初始化 use
1.在Github上新建一个项目
然后在你需要提交的目录下
echo "# demo" >> README.md //新建README.md,然后把你要写的简要和注释写到里面
git init 初始化现存的版本库
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/zlmhs/-.git 添加远程仓库路径
git push -u origin master 第一次提交 加上-u
标签:git mit 版本 git add https 新建 color 初始化 use
原文地址:http://www.cnblogs.com/SunShineM/p/6796719.html