更新 README.md

This commit is contained in:
2024-05-25 09:18:21 +00:00
parent ba50473e20
commit b6b13a4135

View File

@@ -1,4 +1,4 @@
#从命令行创建一个新的仓库
## 从命令行创建一个新的仓库
touch README.md
git init
git checkout -b main
@@ -6,6 +6,11 @@ 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
git push -u origin main
##常用命令
git add 添加文件
git commit -m "" 添加变更内容
git status 查看文件列表