I have code that read from Git commits, branches and etc.
In order to test it, I have created a test project with a .git folder and put it inside in project.
Now, I want to add the whole project including the test case to Git! So technically, some files in my "test project" will mapped to two git repo (the main one and the test fake one)
I am wondering if it is possible. If not, what is a workaround?
To be more clear, this is my project tree
.git
MainProject
|main
|test
|Resources
|TestProj
|.git
|test.txt