New to github. I’m using it on windowns. Due to some confusion when I started this job, rather than work directly on the local copy of the project/repository (.net web forms by the way) I cloned the local copy to another directory and worked there. This meant that I was accumulating changes that were not in the local copy for the repository but in the cloned version.
While I could do a diff on every file in the solution and move only those that had changed from my cloned copy to the local repository directory, I feel this would be difficult and perhaps dangerous. I would like to overwrite the entire solution with my current cloned version. Then I would like to make that the next version checked into Git.
The problem I see is that I would not have checked anything out so the status of files would not be correct to be sent back up to the repository. Also, Git would have no idea what files had changed and which hadn’t so they all would have to go into the repository just to be safe. Is there a way to mark all files as “changed” befpre checking them in?
Someone suggested that it would be easier for me to create a new repository for my cloned version, name it something like “solution2019” and sunset the old respository. Any advice would be appreciated.