Skip to content

🍴 ForkMe - Advanced GitHub Repository Forking Utility

Advanced command-line utility for flexible GitHub repository forking and cloning with 10 distinct strategies optimized for analysis, review, testing, and research.

📚 Documentation

🚀 Quick Start

# Make executable
chmod +x forkme.sh

# Show help
./forkme.sh --help

# Quick shallow clone
./forkme.sh --strategy shallow --depth 1 owner/repo

# Metadata only (no clone)
./forkme.sh --analyze-only owner/repo

✨ Key Features

  • 10 Forking Strategies: Full, shallow, sparse, toplevel, structure, filetype, analysis, mirror, bundle, and metadata-only
  • Intelligent Filtering: Filter by file types, directory patterns, and custom rules
  • GitHub Integration: Automatic fork creation with GitHub CLI
  • Analysis Tools: Built-in repository metadata and structure analysis
  • Optimized for Speed: Shallow clones and sparse checkouts for large repositories

📋 Prerequisites

  • git - Version control system
  • gh - GitHub CLI (for forking functionality)
  • jq - JSON processor (for metadata parsing)

Installation

# macOS
brew install git gh jq

# Ubuntu/Debian
sudo apt-get install git gh jq

# Fedora/RHEL
sudo dnf install git gh jq

📖 Usage

See FORKME.md for complete documentation.


Built with ❤️ by the IT-Journey Scripts Team