GitHub、Gitee新建仓库

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
posted @ 2020-12-08 15:41  javakam  阅读(0)  评论(0)    收藏  举报  来源