SOURCE

git init//初始化git仓库
git add .//将文件上传到git仓库中
git commit -m "first commit"//给上传的文件添加信息
git remote add origin ~//将远程库与git库关联
git push -u origin master//推送代码
console 命令行工具 X clear

                    
>
console