Files
HSAP/docs/GIT_PUSH.md
Chengfang Lu e72bc061c5 feat: HSAP platform v2 — modular navigation, quality review, audit log, world model simulation
Major changes:
- New frontend (platform/web/): Vite + React 18 + TypeScript + Tailwind
- 4-module navigation: 数据送标 / 模型管理 / 车队管理 / 系统管理
- Data catalog with charts (DMS/ADAS/Lane 3-tab view)
- Quality review workflow (标注质检): Good/Fine/Bad scoring with auto-advance
- Audit enhancements: batch operations, rejection categories, Feishu notifications
- Operation audit log (操作日志)
- World model simulation studio (仿真工坊)
- Dataset version management with snapshots and diff
- ADAS 7-class dataset integration (138K images organized + compressed)
- User management with Feishu integration and pagination
- CRUD/search/filter on all pages, card layout redesign
- PIL-optimized image overlay rendering
- Auto-snapshot on build, in_review workflow stage
- Removed embedded algorithm code (now in workspace)
2026-06-03 11:40:21 +08:00

1.8 KiB
Raw Permalink Blame History

HSAP 推送到 git.sanyele.com

为什么 SSH 一直 Permission denied

经检测,git.sanyele.com:22 返回的是 Ubuntu 系统 OpenSSH,不是 Gitea 的 Git SSH 服务。

因此:

  • 在 Gitea 网页里添加的 SSH 公钥 不会 在 22 端口生效
  • 终端问 git@git.sanyele.com's password 时,填 Gitea 登录密码 永远不对

结论:请使用 HTTPS + Personal Access Token 推送。


HTTPS 推送步骤

1. 生成 Token

  1. 登录 https://git.sanyele.comChengfang.LU@hx-electronics.com
  2. 设置应用生成新令牌
  3. 名称:HSAP-push
  4. 权限:勾选 write:repository(或 repo 写权限)
  5. 生成后 复制 Token(只显示一次)

2. 配置 remote已默认 HTTPS

cd ~/DATA/HSAP
git remote set-url origin https://git.sanyele.com/ChengFang.LU/HSAP.git

3. Push在系统终端不要用 Cursor 内置 Git

unset GIT_ASKPASS
export GIT_TERMINAL_PROMPT=1

git push -u origin main

提示时:

字段 填写
Username Chengfang.LU@hx-electronics.com
Password 粘贴 Token(不是登录密码)

4. 保存凭据(可选)

git config --local credential.helper store
git push -u origin main
# 输入一次 Token 后会记住

若仍 401

  • 确认仓库 ChengFang.LU/HSAP 已创建且你有写权限
  • 清除错误缓存:printf "protocol=https\nhost=git.sanyele.com\n\n" | git credential reject
  • 联系管理员确认是否 仅允许 HTTPS,以及 Token 权限策略

需要 SSH 时

请联系 Git 管理员确认:

  • Gitea SSH 是否启用、监听端口(非 22
  • 是否有内网/VPN 专用地址(如 git-ssh.xxx.com:2222

在管理员提供正确 SSH 地址前,请使用 HTTPS + Token。