学习使用git过程中用到的一些比较好用的网站记录

 使用git的基本流程:

create a new repository on the command line

echo "# lyy360" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <url>
git push -u origin main

push an existing repository from the command line 

git remote add origin https://github.com/lyy360/lyy360.git
git branch -M main
git push -u origin main

猜你喜欢

转载自blog.csdn.net/qq_44808827/article/details/123040544