hola buena tarde!
tengo una duda, trate de agregar el archivo y no comprendo el error
On branch master Changes to be committed: (use "git restore --staged ..." to unstage) new file: carpeta/a.config
YUBANEIDY@LAPTOP-TF6FK33T MINGW64 ~/Documents/git (master) $ git status On branch master Changes to be committed: (use "git restore --staged ..." to unstage) new file: carpeta/a.config
Untracked files: (use "git add ..." to include in what will be committed) carpeta/.gitignore
YUBANEIDY@LAPTOP-TF6FK33T MINGW64 ~/Documents/git (master) $ git add .gitignore fatal: pathspec '.gitignore' did not match any files
Agradezco su ayuda
espero su repuesta
muchas gracias
Yuba Delgado