You are not logged in.
Another dumb question here. The Extras folder for Pokered seems to be empty every time I clone the Pokered repository. I also noticed the folder is named extras @ 0e17989 on github. Why is this?
Last edited by Fairor (2017-12-20 03:10:50)
If your extras folder is empty, you forgot to use git clone --recursive https://github.com/pret/pokered when you cloned the project. The --recursive flag is important.
I am no longer active on this forum. I only pop in from time to time.
I also noticed the folder is named extras @ 0e17989 on github. Why is this?
It's commit 0e17989 of pokemon-reverse-engineering-tools. If you click on the folder it takes you to the repository for it.
extras isn't actually a part of pokered itself, but a submodule, so it's added as a link to it to another repository.
git clone will just download the files that are included in the repository you are cloning from, and adding --recursive makes it also download the files for linked submodules off their repository to include it in the right folders.
Imagine a tree, the main repository is at the root, and submodules are on lower branches of the tree. Just git clone would only download the root, while --recursive makes it fetch until further down the tree to also get submodules/dependencies from other repositories.
I may or may not be using the correct terminology for this stuff (especially that analogy which shouldn't be taken at face value), but that's the gist of it.
Last edited by Ammako (2017-12-20 04:57:42)
Oh wow, thank you heaps! This worked. I had been trying to figure out how to get branches cloned too.
edit: Figured it all out now whoo.
Last edited by Fairor (2017-12-20 06:11:35)
If you forget to include --recursive, you don't have to delete the repository and re-clone correctly
Instead, simply do:
git submodule init git submodule update