From 3b4656e193dae75ff7c0d4492a995ea268a41e95 Mon Sep 17 00:00:00 2001 From: Serendipity <510739832@qq.com> Date: Sat, 19 Aug 2023 08:29:32 +0800 Subject: [PATCH] first commit --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8101eb1..406ef2c 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,12 @@ ```powershell touch touch README.md # 创建说明文件 -git init # 初始化仓库 -git checkout -b main # 将文件加入到本地仓库发送列表 -git add README.md -git commit -m "first commit" -git remote add origin https://git.mashibing.com/msb_23480/first_msbwarehouse.git -git push -u origin main +git init # 初始化仓库 注意在创建的仓库目录下执行 + +git checkout -b main +git add README.md # 将文件加入到本地仓库发送列表 +git commit -m "first commit" # 提交这个文件到本地仓库 +git remote add origin https://git.mashibing.com/msb_23480/first_msbwarehouse.git #配置远程仓库地址 +git push -u origin main # 推送文件到远程仓库分支 ```