# 1. 查看修改状态
git status
# 2. 添加所有修改
git add .
# 3. 提交到本地
git commit -m "fix: 适配服务器 Docker 部署
- 修改 nginx 端口 80 → 8088
- 修改 mysql 端口 3306 → 3307
- php 服务从 build 改为使用远程镜像
- 删除 .:/var/www/html 挂载
- 添加 networks 和 restart 配置
- 新增 docker/nginx.conf"
# 4. 切换远程仓库地址(SSH → HTTPS)
git remote set-url origin https://github.com/codeyoursmile/haozhanzhan-engine.git
# 5. 推送到远程
git push -u origin main