I'm developing from a home office and the rest of the team is onsite. Currently my environment is setup with local copies of the databases such that everything works provided I change all my connection strings from something like:
data source=server\instance
To:
data source=.
The problem is after every local merge I have to re-apply the same changes to a bunch of files.
My goal is find out if there's a nice way to leverage Git ability to merge changes from revisions to easily re-apply these changes.
As a first step I committed to my local copy just the changes to my config files. My first thought was I could Cherry-Pick that commit to get back my local changes, but now I'm looking at it and I'm not sure how to proceed.
Has anyone solved a configuration issue like this with Git and if so, how did you do it?
I think the functionality I'm after is essentially to "temporarily merge a set of of changes to a set of files and then revert them".