查看: 73|回复: 0

GitHub、Gitee新建仓库

[复制链接]

4

主题

0

回帖

0

积分

热心网友

金币
0
阅读权限
220
精华
0
威望
0
贡献
0
在线时间
0 小时
注册时间
2008-6-11
发表于 2020-12-8 15:41:00 | 显示全部楼层 |阅读模式

GitHub Default

echo "# AAA" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/javakam/AAA.git
git push -u origin master

GitHub My

git init
git add .
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/javakam/AAA.git
git push -u origin master

Gitee

git init
git add .
git commit -m "first commit"
git remote add origin https://gitee.com/javakam/cloud-disk.git
git push -u origin master


来源:https://www.cnblogs.com/jooy/p/17302043.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部