반응형
출처 - https://cjh5414.github.io/gitignore-update/
이미 push된 file .gitignore 적용하기
Jihun's Development Blog
cjh5414.github.io
Apply .gitignore
아래의 git 명령들을 실행해주면 .gitignore의 파일들이 적용되어 원격 저장소에서 사라진다.
$ git rm -r --cached .
$ git add .
$ git commit -m "Apply .gitignore"
$ git push


반응형
반응형
출처 - https://cjh5414.github.io/gitignore-update/
이미 push된 file .gitignore 적용하기
Jihun's Development Blog
cjh5414.github.io
Apply .gitignore
아래의 git 명령들을 실행해주면 .gitignore의 파일들이 적용되어 원격 저장소에서 사라진다.
$ git rm -r --cached .
$ git add .
$ git commit -m "Apply .gitignore"
$ git push


반응형