Hi everybody, I am sorry if this was already answered and I just didn't found the topic and I am also sorry if it sounds too stupid for you guys.
Anyway, my question is: Is it possible to clone a repository from a Github to another Github without using any local tool?
The goal is to be able to create a new Github containing a base project(which is at another github), even when not able to instal the Git locally. The Github website interface is VERY usefull and one can do almost everything using a regular folder on the computher (or a pendrive) without having Git on it. But to start over, it's pointless to copy some 100s of files manually.
Thanks a lot,
Solved! Solved! Go to Solution.
If you mean copying a remote project to your remote repository, yes you have a solution: `Github fork`
If you mean copying a remote project to your local computer, I think `git clone` is the clean and only answer.
However, if you still simply want a copy to your local place and you don't really care about any ideas of version control, so that's the reason you didn't want to install git, well Github can do that for you: `Download ZIP`.
1. find this from Github project main page.
You'll instantly get a zip file.
2. Get a link of it
That `download zip` link has a certain pattern if the owner didn't customize the project option.
`branch-name` usually goes "master" as default project option.
Once you get the link, you do `curl` or something.
Thanks a lot, djkeh!
I really din't know that I could fork this way! That's just great!
Very wise that you also explain the clone and download option, since other people might be interested when see my question.
@djkeh I am wondering if that URL format is documented somewhere?
I saw from this Stack Overflow post that the branch name part could also be a commit hash: <https://stackoverflow.com/a/32340381/6387394>.
I'm exploring the feasability of combining several repos into one, with a separate branch for each repo. It's essentially a slide deck and each branch would have different content. But the audience would have to be able to download the slide deck (a branch) for local use without using a command line, since they're beginner tech students.