GitHub托管项目
文章目录
一、使用GitHub托管将本地项目
方法一:
1、在github上创建仓库


2、将远程仓库clone到本地:git clone https://github.com/tskybird/t...
3、将本地项目中的文件(除了.git和node_modules)复制到test目录下
cd test
git add .
git commit –m ‘initial project’ // 本地提交
git push // 推送到远程仓库


方法二:
本地git仓库
git remote add origin https://github.com/tskybird/s...
git push -u origin master
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论