Skip to content

Instantly share code, notes, and snippets.

Markdown Tips

Italics and Bold

Style Syntax
Bold ** ** or __ __
Italic * * or _ _
Strikethrough ~~ ~~
@comm0nsense
comm0nsense / copy-repo.md
Created March 11, 2021 12:46
Copy a repo without forking

How to copy a GitHub repo without forking

GitHub only lets you fork a repo once, if you want to make more than one copy of a project here's how you can do it. Useful for starter code.

  1. Create a new empty folder for your project and initialize git

    cd where-you-keep-your-projects

mkdir your-project-name