I want to clone, that is get all the files from a push 1 week ago onto my computer, I know the SHA, I just need a way to get those files onto a directory on my local machine. Is there a simple way to do this?
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.
you just use the archive after you clone:
if you want to actually work on the repository, checkout the commit:
Just be careful as now you are not on any branch. You need a branch to push and pull and track your commits. So make a branch first and then check it out:
or in one line: