Tengo el siguiente archivo .gitignoregit no .ignore trabajando en un directorio
# file named .gitignore
system/application/config/database.php
system/application/config/config.php
system/logs
modules/recaptcha/config/*
Sin embargo cuando agrego cualquier cambio en la configuración y recapcha.php, git status me advierte de la siguiente manera. Cuando agrego cualquier cambio a database.php. no lo muestra en el estado
[email protected]:/var/www/myapp$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: modules/recaptcha/config/recaptcha.php
# modified: system/application/config/config.php
#
no changes added to commit (use "git add" and/or "git commit -a")
¿Cómo puedo solucionar esto?
Gracias de antemano.
estoy usando git versión 1.7.5.1 en Ubuntu 11.04
posible duplicado de [Git: elimine un archivo del repositorio sin eliminarlo del sistema de archivos local] (http://stackoverflow.com/questions/1143796/git-remove-a-file-from-the-repository- sin-eliminar-de-la-local-filesy) – Cascabel