How do I move my git repo down level in the directory tree?

Posted by edude05 on Stack Overflow See other posts from Stack Overflow or by edude05
Published on 2011-01-11T16:41:52Z Indexed on 2011/01/11 16:54 UTC
Read the original article Hit count: 174

Filed under:
|
|

I'm currently writing an app in C# using using Visual Studio. As such, VS2010 created a Solution directory with my project directories inside. So my Hierarchy is like this:

Solution  
  .git
  project1
  project2

What I'd like to do is make it like this:

Solution
  Project 1
    .git
  Project 2

As of right now the files in the solution are tracked, except for the project 2 (so stuff like project.sln for example). Is there a way I can do this without rewriting the history?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about c#

Related posts about git