I have an old site on my server that I have been bringing up to date. The files were imported with ftp. The basic structure is the same eg media files and filepaths and the root is public_html. In other words only the files committed to the repo on Github need to be updated.
If if I clone the new repo to the server will it completely overwrite everything or only modify the files with the same name?
What would be the best approach to updating the site so I can pull my commits without having to re-upload all the files that are not part of the repo but are still needed?
Thanks.