On Windows, can we put different folders in 1 Git or Mercurial (hg) repository?
Such as putting
c:\ror
c:\software projects\ruby
c:\js test
d:\peter_website
all in 1 Git or Mercurial repository called code ?
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.
No, this is not directly possible. What you could do is making seperate repositories for each dir and then combine them as submodules in another repository.
I would advise to keep a repository about one project only. If these three dirs are for the same project, you might considering using a better directory structure for them.