Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 448 Bytes

File metadata and controls

21 lines (14 loc) · 448 Bytes

gh-x

GitHub CLI extension for batch repo operations.

Install

gh extension install samzong/gh-x

Usage

gh x clone <user1> [org2] ...   # Clone missing repos and update existing ones

Behavior

  • Creates a <user-or-org>/ directory under your current working directory.
  • If a local repo already exists (has .git), it runs git pull --ff-only.
  • If the repo does not exist locally, it runs gh repo clone.