I have a config file 'config.js' in my Bitbuckt repo with a specific configuration that I don't want to change.
I need to change this file to work locally, but I don't want to send this changes to my repo.
I already put this file in .gitignore but, every time I push my project, the file in Bitbuckt is replaced with local config.
How can I fix this?
PS: I tried to use $ git rm --cached config.js, but this deletes the file in Bitbuckt.