You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| README.md | 2 years ago | |
README.md
功能: 练习从命令行创建一个新的仓库
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 # 推送文件到远程仓库分支