Say I have this type of structure:
Project/Code files: C:\myCode
Git Repository: C:\Users\User1\MyGitRepoDir
How do I get my myCode code directory into MyGitRepoDir so that I can commit files, etc?
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.
Three options that I can think of:
Copy paste the code from myCode into MyGitRepoDir
Create a new git repo in myCode with
git initMove the working dir of MyGitRepoDir. Probably don’t want to do this if you don’t know what you are doing.
Would need more details to provide a recommendation. Is there already code in MyGitRepoDir? Do they need to be in the same repo? Does each folder need to stay in their respective directories?