On Mon, Dec 20, 2021 at 06:36:24AM -0800, David McMurrey wrote: > I just doing a Windows copy of a Git folder on my Windows desktop. Seems to > work just fine. Any warnings I should know about?
In a simple case, no, it should be fine. What you call "Git folder" contains the files of the currently checked out commit and a subdirectory named ".git" (it should also be hidden) which is actually the clone of the origin repository which contains all the data and local configuration information. If you have successfully managed to copy that directory - and it appears you have, - all should be well. There might be issues like the new machine (Windows desktop) might have different connectivity with the remote repository, and in this case you might need to tweak the settings for accessing the remote repository. Handling authentication might also require tweaking but if you did not have any problems with that, then nothing about that is needed. Well, one more point: if the source directory wasn't hosted on a Windows machine (and on a Windows-specific filesystem such as NTFS), you might have issues with line breaks in the checked out files, but then again, if you did not experience any problems, possibly you have copied from Windows to Windows. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20211220153428.c2h3nrqs4nxi2jjo%40carbon.
