You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!nombre.extensión-del-archivo (si se ignoran los archivos por tipo, así se designora un archivo que esté dentro del grupo de archivos)
Ignorar archivos dentro de una carpeta dentro de .gitignore:
nombre-del-directorio/
!nombre-del-directorio/nombre.extensión-del-archivo (designorar un archivo dentro de un directorio)
Ignorar archivos por últimos caracteres (ejemplos):
*).txt o copia.txt (los archivos que terminan en 'copia' o ')')
IMPORTANTE: si se hizo un commit de un archivo que se quería ignorar y luego se introduce en el .gitignore, git lo seguirá mostrando. Hay que eliminarlo, hacer el commit y luego introducirlo nuevamente ya ignorandolo con el .gitignore