파일을 생성하거나 변경했는데
vscode의 source control에 반영이 안될 때가 있다
그럴때는 강제로
1. git add -f 이 명령어 사용해서 하든가
2. git rm -
git add -f 이 명령어 사용해서 하든가
git rm -r --cached 이거로 캐시 지워주든가
git update-index --no-assume-unchanged <file>
이 명령으로 assume-unchanged되어있는 파일을 해재하던가 하면된다
'TIL,WIL(일간,주간 회고)' 카테고리의 다른 글
[TIL][mongoose]몽구스 사용하여 스키마작성 안하고 db 연결 (0) | 2023.08.10 |
---|---|
TIL interface 교차타입 (0) | 2023.05.30 |
jest로 Logger.log 테스트 (0) | 2023.04.24 |
dotenv사용할때 알게된점 (0) | 2023.04.17 |
cannot find type definition file for 'morgan'. the file is in the program because:\n entry point for implicit type library 'morgan' (0) | 2023.04.17 |