c++visual-studioprojectcopy-pastesolution

Visual Studio C++: copy projects and solutions from one pc to another (github not working)


Visual Studio C++: copy projects and solutions from one pc to another (github not working):

Can I just copy these files to another pc? Or will I mess things up (e.g. in github)? On the destination pc, github is not connected/not working/not available.

So I guess this will just create a branch-less solution.

At which level to copy? What files to (not) copy?

enter image description here

enter image description here

enter image description here


Solution

  • You can absolutely copy the whole repository contents to a different computer, that's what Git does. In your case that would be the source/repos/ctool folder. If Git is then installed onto that computer, it will treat it like the repository on the source computer.

    You can safely ignore copying any files mentioned in the .gitignore file, which probably includes the everything in x64/Debug.