|
|
|
@ -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 # 推送文件到远程仓库分支
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|