complete
Active member
- Joined
- Oct 24, 2012
- Messages
- 31
- Programming Experience
- 3-5
First of all, I should explain the mess I have gotten myself into in order to explain this issue. (This was a windows form application with .Net Framework version 4.7.2.) I had the idea while thinking outside of the proverbial box, that a short cut to a problem I was facing was to make a complete copy of an entire project's source code and rename the project a new name. All of the files with the previous project name was renamed to the name of the new project. Also, in all of the files, where this name appeared, was edited to be the name of the new project file.
Now, here is the problem, this created a kind of ghost git and github repository. There seems to be a local repository but on github there was nothing. But when I tried to create a new github repository online, the files from the old project seemed to be referenced.
I closed the visual studio IDE and went to the command line to try to delete the local git repository with
> git branch --delete master
but it returned with
> error: cannot delete branch 'master' used by worktree at 'C:/source/DHS-Solution'
So I think this means I need to find a way to disconnect from the git and github through the IDE. Please advise.
Now, here is the problem, this created a kind of ghost git and github repository. There seems to be a local repository but on github there was nothing. But when I tried to create a new github repository online, the files from the old project seemed to be referenced.
I closed the visual studio IDE and went to the command line to try to delete the local git repository with
> git branch --delete master
but it returned with
> error: cannot delete branch 'master' used by worktree at 'C:/source/DHS-Solution'
So I think this means I need to find a way to disconnect from the git and github through the IDE. Please advise.