I have the .git directory, but I do not have the actual working directory, just the repo. What command can I use to recreate the working directory?
I have the .git directory, but I do not have the actual working directory,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Let’s say the .git dir is in an otherwise empty directory called “test.”
new_test will now contain the .git directory and a working copy. Alternatively, you can also point directly to the .git directory:
with the same result.