Preventing git from commiting config files after first commit
I'm developing a project that has some sensitive data in its config file. How can I commit the config file once to github and then ignore my further edits? Or is there another recommended solution for this situation?
请先登录再写评论。
Hello
You will need to run the following command on a commited file, you can read more about it in official guide:
There is a feature request to make it possible to do this operation in IDE UI, please feel free to vote:
https://youtrack.jetbrains.com/issue/IDEA-76682