Skip to content

admin-aftermath/gh-private-fork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-private-fork

A GitHub CLI extension that adds a private-fork subcommand to gh, allowing you to create private forks of public repositories.

Installation

Make sure you have GitHub CLI (gh) installed.

# install
gh ext install admin-aftermath/gh-private-fork
# upgrade
gh ext upgrade admin-aftermath/gh-private-fork
# uninstall
gh ext remove admin-aftermath/gh-private-fork

Usage

# Create a private fork of a repository
gh private-fork some/repo

# Create a private fork in an organization
gh private-fork some/repo --org myorg

# Create a private fork in an organization, rename the fork, and clone it
gh private-fork some/repo --org myorg --fork-name new-name --clone

# Fork current repository privately
gh private-fork

Development

gh extension install .

go build && gh private-fork ...

About

`gh` extension to create private forks of public repositories

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages