{"id":28324383,"url":"https://github.com/paofan25/gitattack","last_synced_at":"2026-05-04T23:32:18.512Z","repository":{"id":293855187,"uuid":"985323582","full_name":"paofan25/gitAttack","owner":"paofan25","description":"本项目是一个基于C#/WPF的桌面工具，旨在帮助开发者高效解决Unity场景文件（YAML格式）在多人协作开发中产生的版本冲突。工具集成了Git操作、冲突可视化、AI智能合并建议（支持DeepSeek API）、历史配置记忆等功能，界面友好，易于扩展。","archived":false,"fork":false,"pushed_at":"2025-05-17T14:51:28.000Z","size":9960,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T02:38:55.268Z","etag":null,"topics":["git","unity","unity-scripts","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paofan25.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-17T14:20:54.000Z","updated_at":"2025-06-05T13:29:20.000Z","dependencies_parsed_at":"2025-05-17T15:40:55.052Z","dependency_job_id":null,"html_url":"https://github.com/paofan25/gitAttack","commit_stats":null,"previous_names":["paofan25/gitattack"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/paofan25/gitAttack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paofan25%2FgitAttack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paofan25%2FgitAttack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paofan25%2FgitAttack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paofan25%2FgitAttack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paofan25","download_url":"https://codeload.github.com/paofan25/gitAttack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paofan25%2FgitAttack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262870850,"owners_count":23377309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","unity","unity-scripts","unity3d"],"created_at":"2025-05-25T18:10:43.695Z","updated_at":"2026-05-04T23:32:18.426Z","avatar_url":"https://github.com/paofan25.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity场景冲突可视化与AI辅助合并工具\n\n## 项目简介\n本项目是一个基于C#/WPF的桌面工具，旨在帮助开发者高效解决Unity场景文件（YAML格式）在多人协作开发中产生的版本冲突。工具集成了Git操作、冲突可视化、AI智能合并建议（支持DeepSeek API）、历史配置记忆等功能，界面友好，易于扩展。\n\n## 主要功能\n- **Git仓库管理**：支持仓库打开、分支管理、提交、合并、推送、拉取、冲突检测等常用操作。\n- **Unity场景冲突检测与可视化**：自动解析YAML格式的Unity场景文件，检测并高亮显示冲突区块。\n- **AI合并建议**：集成DeepSeek API，支持多模型选择，自动分析冲突内容并生成合并建议和解释。\n- **历史配置与记忆**：API密钥、端点、模型等支持历史记录、自动保存与管理。\n- **美观易用的WPF界面**：参考SourceTree风格，支持仓库状态、冲突详情、AI建议、合并操作等区域分区展示。\n\n## 目录结构说明\n- `AI/AIService.cs`：AI接口服务，负责与DeepSeek等AI平台交互，获取合并建议。\n- `Services/`：业务服务层，包括Git操作、设置管理、Unity场景解析等。\n- `Models/`：数据模型层，定义场景冲突、Git状态、API配置等结构。\n- `ViewModels/`：MVVM视图模型层，负责界面与业务逻辑的桥接（未完全列出）。\n- `Utils/`：辅助工具类。\n- `MainWindow.xaml(.cs)`：主界面及其逻辑。\n\n## 快速开始\n**[点击tag，下载第一项zip，解压之后找到exe文件并运行](https://github.com/paofan25/gitAttack/releases/tag/v1.0.0)**\n\n以下六个步骤弃用\n\n\n\n1. `**克隆仓库**`\n2. `**用Rider或Visual Studio打开项目**`\n3. `**还原依赖并编译运行**`\n4. `**配置API密钥、端点和模型（支持历史记忆）**`\n5. `**选择本地Git仓库，检测并处理Unity场景冲突**`\n6. `**根据AI建议进行合并，保存并提交结果**`\n\n## 注意事项\n- AI接口调用会消耗API余额，建议只在需要时手动触发。\n- 支持DeepSeek等多种AI模型，API端点和密钥需自行申请。\n- 仅支持YAML格式的Unity场景文件冲突处理。\n\n## 后续扩展建议\n- 支持更多AI平台（如OpenAI、Azure等）\n- 增强冲突可视化与手动编辑能力\n- 支持更多类型的Unity资源文件\n\n---\n\n如有问题或建议，欢迎提Issue或PR！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaofan25%2Fgitattack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaofan25%2Fgitattack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaofan25%2Fgitattack/lists"}