Loading...
Loading...
Compare original and translation side by side
.issues/open/.issues/closed/.issues/open/.issues/closed/gh-issue-sync init # Initialize in git repo
gh-issue-sync pull # Fetch open issues (--all for closed too)
gh-issue-sync push # Push local changes (--dry-run to preview)
gh-issue-sync list # List issues (supports gh issue list flags + --search)
gh-issue-sync new "Title" # Create issue (--label, --edit)
gh-issue-sync close 42 # Close (--reason completed|not_planned)
gh-issue-sync reopen 42
gh-issue-sync status # Show local changes
gh-issue-sync diff 42 # Show diff (--remote to re-fetch)gh-issue-sync init # 在Git仓库中初始化
gh-issue-sync pull # 获取未关闭的Issues(添加--all参数可同时获取已关闭的)
gh-issue-sync push # 推送本地更改(添加--dry-run参数可预览更改)
gh-issue-sync list # 列出Issues(支持gh issue list的所有参数以及--search参数)
gh-issue-sync new "Title" # 创建Issue(支持--label、--edit参数)
gh-issue-sync close 42 # 关闭Issue(添加--reason参数,可选值completed|not_planned)
gh-issue-sync reopen 42
gh-issue-sync status # 显示本地更改状态
gh-issue-sync diff 42 # 显示差异(添加--remote参数可重新获取远程内容).issues/open/42-fix-login-bug.md---
title: Fix login bug
labels: [bug, priority:high]
assignees: [alice]
milestone: v1.0
state: open.issues/open/42-fix-login-bug.md---
title: Fix login bug
labels: [bug, priority:high]
assignees: [alice]
milestone: v1.0
state: open
Issue number is derived from the filename, not stored in frontmatter.
Issue编号由文件名派生,不会存储在前置元数据中。TT1a2b3cT.issues/open/T1a2b3c-my-new-issue.mdpush42-my-new-issue.mdnumber:#T1a2b3c#42TT1a2b3cT.issues/open/T1a2b3c-my-new-issue.mdpush42-my-new-issue.mdnumber:#T1a2b3c#42.comment.md.issues/open/42.comment.md
.issues/open/42-fix-login-bug.comment.md.comment.md.issues/open/42.comment.md
.issues/open/42-fix-login-bug.comment.md--force--force