0
I have a settings file that exists in the remote repository and in place, with information for sending email.
In my local environment, I need to modify it with my private email account settings for testing. Eventually I will need to push the changes I made places, but first I will have to change these settings of my particular email; In other words, I... In most of the development I want that the changes of this file are not taken to the remote repository in push (only the changes of the other files), but in the end, I may need to push this file with some point changes.
I wanted to ignore this file in the push most of the time, but be able to "designate" when I want.
From what I read about . gitignore, it is not suitable as it serves for all developers to ignore such file.
I tried using . git/info/exclude, but when I make local changes,dou commit and push, the changes go to the github remote repository...
Can anyone help me? I’m skipping some steps?
Grateful in advance!