2
It is already common knowledge that it is not good practice directly copy the physical files (mdf, etc.) from the database. Therefore, there are specific routines that generate external files that can be imported.
Similarly to databases, I believe it is also not correct to copy a directory .git
, or even the entire project directory, for backup, or to carry on a USB stick and download at home.
So what’s the right way to copy a repository git
?
It is important to assume here that it is a local repository, not remotely hosted in services like Github.