Skip to content

The public repositories provided by Github do not allow the creation of private branches, and the method of creating a private branch by copying the repository is documented here.

License

venshine/fork_repository_for_private

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

The public repositories provided by Github do not allow the creation of private branches, and the method of creating a private branch by copying the repository is documented here.

The git and gh commands need to be installed.

Usage

  1. fork project to personal private repository, the script automatically creates the project
sh fork_repository_private.sh $github_public_repository_url
  1. fork project to team private repository, the script automatically creates the project
sh fork_repository_private.sh $github_public_repository_url $team

Demo

sh fork_repository_private.sh https://github.com/venshine/json2model

About

The public repositories provided by Github do not allow the creation of private branches, and the method of creating a private branch by copying the repository is documented here.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages