Loading

git初始化

创建git仓库

…or create a new repository on the command line

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

…or push an existing repository from the command line

git remote add origin https://github.com/oldweipro/blank.git
git branch -M main
git push -u origin main
posted @ 2021-06-09 15:37  老卫同学  阅读(66)  评论(0)    收藏  举报