-1
"js"폴더의 모든 파일을 추적하지 못합니다..gitignore가 작동하지 않는 상태에서 추적에서 제외됩니다.
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
# dependencies
# IDEs and editors
/.idea
# misc
/.sass-cache
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
testem.log
/typings
# e2e
/e2e/*.js
/e2e/*.map
# js
js/
#System Files
.DS_Store
node_modules/
bower_components/
.sass-cache/
images/
app/test/reportscreenshots/
app/test/report/
참고 js/
가 추적되는 해당 폴더에있는 파일이 제거되지 않습니다 :
여기 내 .gitignore입니다.
왜 내 .gitignore 추적되는 "JS"폴더에 파일을 제외하지 않습니다 여기 내 폴더 구조는?
이전에 저장소에 JS 폴더를 추가 했습니까? 그렇다면 무시하기 전에'git rm --cached'를 사용해야합니다. –
'git rm --cached js/**/*. js'를 시도하십시오. –