commit
ea9214dfbf
@ -0,0 +1,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
|
||||
```
|
||||
|
Loading…
Reference in new issue