Git에 디렉토리를 추가하는 방법이 있지만 .gitgnore에서 확장자를 제외 하시겠습니까?Git에 디렉토리를 추가하지만 .gitgnore에서 확장자를 제외시키는 방법이 있습니까?
예컨대 내가
git add console/*
자식 응답하는 방법 명령이 자동으로 .gitignore 확장을 제외 할 수
$ git add console/*
The following paths are ignored by one of your .gitignore files:
console/networkprobing.ppu
console/opsdatamodule.lrs
console/opsdatamodule.o
console/opsdatamodule.ppu
console/rcacsSystemDM.compiled
console/rcacsSystemDM.o
console/rcacsSystemTestProcs.o
console/rcacsSystemTestProcs.ppu
Use -f if you really want to add them.
fatal: no files added
응답과 같은 디렉토리를 추가 할 명령을 실행할 때? 전달할 추가 옵션이 있습니까?
이미'console /'에있는 모든 파일을 무시하고있는 것처럼 보입니다. 그렇지 않다면,'.gitignore' 파일에 무엇이 있으며, 제외시키지 않으려는 것은 무엇입니까? –