이 답변을 보았습니다 : Unignore subdirectories of ignored directories in Git힘내 무시 unignore가 작동하지 않습니까?
그리고 제가 말할 수있는 한 똑같은 일을하고 있지만 git는 내 디렉토리/파일을 무시하지 않습니다.
이것은 내 규칙입니다. 나열된 디렉토리/하위 디렉토리를 가져 오려고하지만 공용 디렉토리 전체가 표시되지 않습니다.
/public/bootstrap/*
!/public/bootstrap/bower_components/bootstrap/dist/*
!/public/bootstrap/bower_components/bootstrap/dist/**/*
!/public/bootstrap/bower_components/bootstrap/less/variables.less
아이디어가 있으십니까?
방금이 구조를 복제했으며'variables.less'는 무시되지 않았습니다. 그것을 잡을 수있는 또 다른'.gitignore'가 없다고 확신합니까? –
전체 프로젝트 폴더에서 찾기를 수행했는데 다른 .gitignore는 다른 디렉토리에 있고 "local"만 있습니다. – Joren