0

I have a Github remote repo and sync with my local repo. It's ok. But now, create a new directory and it's have last and true files.

How can i change my local repo via Git?

2 Answers 2

1

I'm not sure what you mean. Why not just clone the repo to the new directory?

Sign up to request clarification or add additional context in comments.

2 Comments

Clone overwrite old files to my new files?
Ah, now I got it. So you have an unversioned directory that has your "newest" files. See this question: What's the best practice to git clone into an existing folder?
0

I did this for my windows OS. Open the short cut link to GitHub. Select Run. Select the sprocket in the upper right hand corner. Select Options... On the right side you should see the Clone path. Here you can Browse to the file path you desire. I hope this helps and is what you wanted to know.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.