I believe I copy pasted a git project content (edit) B. In the folder of my project A. After some testing and modification I deleted the git project B, and the remote it added. But all the commits history are still shown in my project A.
- How do I delete everything except what was in my original project?
Observations:
When I do git branch -av, I only see the branch from project A which is good.
When I do git remote, I only see origin which is good (I deleted the project B - origin)
When I show all branches, I see commits of both projects.
No commits have been merged from project A to B or vise-versa. (I can see in sourcetree that both project never crosses each other.
In the .git folder, I can see SHA in the log and refs dans that do not belong to project A.
I don't know what I have done exactly to end up with this state...
Comments:
Example for the folder paths:
C:\gitRepo\ProjectAB\
C:\gitRepo\ProjectAB\ProjectA-1...
C:\gitRepo\ProjectAB\ProjectA-2...
C:\gitRepo\ProjectAB\ProjectB-1...
C:\gitRepo\ProjectAB\ProjectB-2...