更新项目代码:新增彩种模块、组件优化、管理后台功能完善
This commit is contained in:
19
lottery-app/git-commands.txt
Normal file
19
lottery-app/git-commands.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
# Git 初始化并上传到远程仓库的命令
|
||||
|
||||
# 1. 初始化 Git 仓库
|
||||
git init
|
||||
|
||||
# 2. 添加所有文件到暂存区
|
||||
git add .
|
||||
|
||||
# 3. 提交代码
|
||||
git commit -m "初始提交:彩票推测系统前端代码"
|
||||
|
||||
# 4. 添加远程仓库
|
||||
git remote add origin http://49.234.3.145:3018/lihanqi/cpzs-frontend.git
|
||||
|
||||
# 5. 将当前分支重命名为 main
|
||||
git branch -M main
|
||||
|
||||
# 6. 推送到远程仓库并设置上游分支
|
||||
git push -u origin main
|
||||
Reference in New Issue
Block a user