I have a project on github that I would like to reflect on my server.
I tried the following: git clone --mirror git@github.com:user/repo.git.
Then in the directory repo.gitI have the following file structure (e.g. output ls):
FETCH_HEAD branches/ description info/ packed-refs HEAD config hooks/ objects/ refs/
So my question is: where are my files !? It looks like there are a bunch of git related things there, but I just can't find the code I wrote. Am I missing something?
Btw, git statusreturns fatal: This operation must be run in a work tree, but git branchreturns branches. Weird
source
share