git管理github仓库

 验证配置信息

$ git config --list

创建并打开文件夹 

$ mkdir zyp

$ cd zyp

克隆github库至本地 

$ git clone https://github.com........
Cloning into 'have-fun'...

在git库内添加新文件并提交 

$ cd have-fun

$ touch lym.php

$ git add lym.php

$ git commit -m'向库内提交'

 上传至github库实现同步

$ git push

发布了16 篇原创文章 · 获赞 0 · 访问量 341

猜你喜欢

转载自blog.csdn.net/Jackson1115/article/details/103836612
今日推荐