Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fork git ubuntu

# To fork a repo using Github CLI  

gh repo fork repo

# Fork an organization repo

gh repo fork repo --org "organization-name"

# Create a clone of the fork

gh repo fork repo --clone=true
Source by docs.github.com #
 
PREVIOUS NEXT
Tagged: #fork #git #ubuntu
ADD COMMENT
Topic
Name
2+3 =