logo
0
0
WeChat Login
LGJ<1752104296@qq.com>
feat: 初始化情绪识别管理系统 - 包含完整的云原生配置

仓库管理

要将LGJ_Repo/emotion-analysis-system项目上传到指定Git仓库,请按照以下步骤操作:

  1. 初始化 查看当前Git状态 git status

查看当前远程仓库 git remote -v

  1. 首先在项目目录初始化Git仓库: cd D:\IDE\Code\······\emotion-analysis-system git init

  2. 添加所有文件到暂存区: git add .

  3. 提交初始版本: git commit -m "feat: ()"

  4. 添加远程仓库地址: git remote add origin  https://cnb.cool/LGJ_Repo/emotion-analysis-system

  5. 配置Git用户名和邮箱(如果还没配置) 牌名: LGJ Git Username: cnb 一: git config user.name "您的用户名" git config user.email "您的邮箱"

二: git remote set-url origin二: git remote set-url origin https://<您的用户名>:<您的访问令牌>@cnb.cool/LGJ_Repo/emotion-analysis-system

加入令牌名: git remote set-url origin https://cnb:aGZ4TXiBVlt1d3daFz9EZL3g7lC@cnb.cool/LGJ_Repo/emotion-analysis-system

  1. 推送代码到远程仓库: git push -u origin master git push -u origin main

注意:

  • 确保你有该仓库的写入权限
  • 如果仓库已存在内容,可能需要先拉取合并
  • 可能需要配置Git凭据