Easy_to_use_GIT/README.md
2024-05-25 09:15:08 +00:00

11 lines
371 B
Markdown

#从命令行创建一个新的仓库
touch README.md
git init
git checkout -b main
git add README.md
git commit -m "first commit"
git remote add origin http://154.201.72.75:5888/Tianpao/Easy_to_use_GIT.git
git push -u origin main
#从命令行推送已经创建的仓库
git remote add origin http://154.201.72.75:5888/Tianpao/Easy_to_use_GIT.git
git push -u origin main