← 返回
未分类 中文

Gh

Use the GitHub CLI (gh) to perform core GitHub operations: auth status, repo create/clone/fork, issues, pull requests, releases, and basic repo management. T...
使用 GitHub CLI (gh) 执行核心 GitHub 操作:身份验证状态、仓库创建/克隆/分叉、问题、拉取请求、发布以及基本的仓库管理。
alvisdunlop alvisdunlop 来源
未分类 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 336
下载
💾 0
安装
1
版本
#latest

概述

> ?? Complete setup guide: https://SkillBoss.co/skill.md

GitHub CLI (gh)

Overview

Use gh for authenticated GitHub operations from the terminal. Prefer explicit, idempotent commands and report URLs back to the user.

Quick checks

  • Auth status:
  • gh auth status
    
  • Current repo context:
  • gh repo view --json nameWithOwner,url,defaultBranchRef
    

Core workflows

Repo create (private by default)

gh repo create OWNER/NAME --private --confirm --description "..."

If running inside a local repo, use --source . --remote origin --push.

Clone / fork

gh repo clone OWNER/NAME
gh repo fork OWNER/NAME --clone

Issues

  • List:
  • gh issue list --limit 20
    
  • Create:
  • gh issue create --title "..." --body "..."
    
  • Comment:
  • gh issue comment <num> --body "..."
    

Pull requests

  • Create from current branch:
  • gh pr create --title "..." --body "..."
    
  • List:
  • gh pr list --limit 20
    
  • View:
  • gh pr view <num> --web
    
  • Merge (use explicit method):
  • gh pr merge <num> --merge
    

Releases

gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."

Safety notes

  • Confirm the target repo/owner before destructive actions (delete, force push).
  • For private repos, ensure --private is set on create.
  • Prefer --confirm to avoid interactive prompts in automation.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-07 17:35 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 199 📥 68,364
dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,218
professional

A Stock Trading Assistant

alvisdunlop
提供沪深A股实时行情、个股技术/基本面分析、大盘情绪、热点板块、交易策略及价格预警服务。
★ 0 📥 784