I have a developer who is developing an ASP.NET Web application for me and I've been publishing it so far on my server, example1.com, so far without any problems. It is managed with a single Git repository on Bitbucket without any hassles so far, when he adds new features, I can easily fetch & pull the changes, and then I publish it right away to the live server.
Now I need to host this application on example2.com. It will use its own database and some logos/images will be different than the one on the git repository. Also, I changed some width values in some views so the new images would fit better. In total, there are like 7 files are different than the official git repository one, and the one live on example1.com.
I can easily copy-paste the current solution to a new folder, replace the files that needs to be replaced, and then publish to example2.com, but I want my setup to be updated via Git. I tried connecting them both to the same git repository and changed the
.gitignore file a bit on the new solution, but I couldn't find my way around and was confused.
Which way will be the easiest to manage these two sites? They will maintain the same core functionality, only different databases (web.config file) and logo files. I am using Microsoft Visual Studio.