Exon02 Posted October 19, 2015 Report Share Posted October 19, 2015 Dear support, what is the best way use the status of files on different locations. We have a config file that is in a repository but who has to be different on 3 locations On our local machine the config file has to point to a local service, but on our test-server it has to point to the services there and at last on our published server it has to point to another location. How can we configure the status of that file that it doesn't get overwritten when we change branch, update workspace, or other action? Best regards Link to comment Share on other sites More sharing options...
manu Posted October 19, 2015 Report Share Posted October 19, 2015 I'm not sure if I'm understanding your question but if you want to preserve a changed file during a switch/update operation you need to add it to the "hidden_changes.conf" file. Link to comment Share on other sites More sharing options...
Exon02 Posted October 20, 2015 Author Report Share Posted October 20, 2015 Dear Manu, i will try to explain it a bit better. The config file is under source control and is stored in the repository of our project. We don't want that version to be changed by any users. But on our local machine we want to change that file to our local settings, we don't want those changes to be saved the repository. best regards Link to comment Share on other sites More sharing options...
manu Posted October 20, 2015 Report Share Posted October 20, 2015 Hello Exon, if you don't want to have those settings I'm afraid you'll need to revert them by denying them at your local "hidden_changes.conf" file (at %HOME%/.plasti4 or C:\Users\manu\AppData\Local\plastic4). For example, the repo file has "*.conf" if you don't want them as ignored you'll need to create the opposite rule "!*.conf" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.