first commit

main
Serendipity 2 years ago
parent ea9214dfbf
commit 3b4656e193

@ -2,11 +2,12 @@
```powershell ```powershell
touch touch README.md # 创建说明文件 touch touch README.md # 创建说明文件
git init # 初始化仓库 git init # 初始化仓库 注意在创建的仓库目录下执行
git checkout -b main # 将文件加入到本地仓库发送列表
git add README.md git checkout -b main
git commit -m "first commit" git add README.md # 将文件加入到本地仓库发送列表
git remote add origin https://git.mashibing.com/msb_23480/first_msbwarehouse.git git commit -m "first commit" # 提交这个文件到本地仓库
git push -u origin main git remote add origin https://git.mashibing.com/msb_23480/first_msbwarehouse.git #配置远程仓库地址
git push -u origin main # 推送文件到远程仓库分支
``` ```

Loading…
Cancel
Save