dev-manager-tauri/.blueprint/modules/git-ops.md
lanrtop 0cdaa3678c feat: add Blueprint feature to ProjectCard and commands
- Introduced BlueprintModal in ProjectCard for project blueprint visualization.
- Added state management for displaying the BlueprintModal.
- Implemented Blueprint-related interfaces and functions in commands.ts for handling blueprint data.
2026-04-02 19:12:53 +09:00

38 lines
859 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: git-ops
name: Git 操作
status: done
progress: 100
---
## 概述
基于 libgit2 (git2-rs) 的 Git 操作后端,提供 clone、status、fetch、pull、push、分支管理等功能。
## 任务卡
### ✅ 基础操作
- status: done
- files: src-tauri/src/commands/git_ops.rs
git clone, status, fetch, pull, push, head commit 查询。
### ✅ 分支管理
- status: done
- files: src-tauri/src/commands/git_ops.rs
创建分支、列举分支、切换分支。
### ✅ 上游状态检测
- status: done
- files: src-tauri/src/commands/git_ops.rs
检测本地分支落后远程的提交数。
### 💭 冲突解决 UI
- status: concept
- notes: 检测到冲突文件时提供可视化 diff 和解决方案,尚未确定交互形式。
### 💭 Stash 管理
- status: concept
- notes: stash list/apply/drop可能需要新的 UI 面板。