.gitignore is for ignoring untracked files, but you need to ignore changes in the tracked one. you could use git update-index --skip-worktree /path/to/config.php
See https://git-scm.com/docs/git-update-index#_skip_worktree_bit
https://git-scm.com/docs/gittutorial
Hola q documento se presida para entrar al comar
ResponderEliminar