티스토리 뷰
https://stackoverflow.com/questions/12373733/staging-deleted-files
Staging Deleted files
Say I have a file in my git repository called foo. Suppose it has been deleted with rm (not git rm). Then git status will show: Changes not staged for commit: deleted: foo How do I stage this
stackoverflow.com
git rm $(git ls-files --deleted)
'Git' 카테고리의 다른 글
| github action 진짜 삽질... main branch 제한걸어도 action이 수행되었던 슬픈 원인 (0) | 2025.02.09 |
|---|---|
| [Git] Remote 측의 특정 파일, 폴더 제거 하면서 Local 측에선 유지하는 방법 (0) | 2023.07.16 |
| [Git] 특정 파일만 수정 전으로 복구(reset or revert)하기 (0) | 2023.04.02 |
| [GitHub/깃헙] 비디오 업로드 (0) | 2023.01.10 |
| 가장 최근 커밋 메시지 수정하기 (0) | 2022.11.20 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- ㅂ
- FairMOT
- 백준 11437
- 이분탐색
- 단축키
- 백준 1766
- 인공지능을 위한 선형대수
- Lowest Common Ancestor
- 순열
- MOT
- 조합
- 백준 11053
- C++ Deploy
- cosine
- 백트래킹
- 자료구조
- LCA
- 문제집
- 파이참
- 가장 긴 증가하는 부분 수열
- 백준
- 위상 정렬 알고리즘
- PyCharm
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함
