在github上托管自己的项目

在git上创建一个项目,地址:https://github.com/LiYanTaogithub/vUi.git

本地项目文件:

git init  //初始化
git add .  //添加所有文件
git commit -m xxx xxx            //为文件信息,可以随意起名
git remote add origin https://github.com/LiYanTaogithub/vUi.git     //为创建项目时产生的网址
git push origin master 或者 git push origin master --force (强推,把以前的覆盖掉)

猜你喜欢

转载自www.cnblogs.com/lyt0207/p/13092587.html
今日推荐