반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- aws
- kubeflow
- codepipeline
- Spring
- docker
- codebuild
- Python
- chartjs
- SQL
- codedeploy
- java bigdecimal
- chart.js
- Flux
- Spring Error
- or some instances in your deployment group are experiencing problems.
- Kafka
- AWS CI/CD 구축하기
- codedeploy error
- Airflow
- IntelliJ
- bootstrap
- VPN
- aws cicd
- JavaScript
- redis
- node
- COALESCE
- 도커
- Jenkins
- PostgreSQL
Archives
- Today
- Total
Small Asteroid Blog
[git] fatal: will not add file alias 'filename' ('filename' already exists in index) 본문
도구/Git
[git] fatal: will not add file alias 'filename' ('filename' already exists in index)
작은소행성☄️ 2022. 11. 15. 17:45728x90
커밋할 때 수정하기 전 파일 이름과 수정 후의 파일 이름의 대소문자 ignorecase 때문에 생기는 오류다.
해당 git 레포지토리 폴더로가서 해당 명령어를 입력해준다.
git config --global core.ignorecase false
위의 방법으로 되지 않으면 캐시 파일을 삭제한다.
git rm --cached <file>
728x90
반응형
'도구 > Git' 카테고리의 다른 글
[Git] master -> main 합치기 (덮어쓰기) (0) | 2023.12.07 |
---|---|
[GitHub] GitHub 인증 오류 해결 : https-urls for information on currently recommended modes of authentication. (0) | 2023.10.12 |
[Jenkins] jenkins github 연결하기 (0) | 2022.05.25 |
[github] Git Action 이용해서 티스토리 게시글 깃허브에 업로드하기 (0) | 2022.04.14 |
[Gitlab] gitlab cicd 사용해 docker image 배포 (0) | 2021.11.03 |