I manage a WP-based site with a custom theme built by a developer to whom I no longer have access. I am currently backing up the WP files via FTP and am curious about the presence of .git files in our theme folder. There are hundreds of sub-folders containing dozens of files each. Can anyone advise me if it is necessary to maintain that .git folder or is that purely a development tool?
Modified 2 years, 3 months ago
Viewed 160 times
.gitfolder contains the information that
gituses to keep a record of changes to the project. If you're never going to want a record of changes, you can delete the subfolder; conversely, if you ever want access to that record, you'll want to keep the subfolder.