반응형
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
- codepipeline
- aws cicd
- PostgreSQL
- 도커
- Jenkins
- node
- bootstrap
- aws
- java bigdecimal
- AWS CI/CD 구축하기
- Python
- openlens
- Spring
- Spring Error
- Airflow
- Flux
- VPN
- codedeploy
- kubeflow
- IntelliJ
- chartjs
- codebuild
- COALESCE
- docker
- SQL
- codedeploy error
- Kafka
- chart.js
- JavaScript
- redis
Archives
- Today
- Total
Small Asteroid Blog
[Git] error: The following untracked working tree files would be overwritten by checkout: 본문
도구/Git
[Git] error: The following untracked working tree files would be overwritten by checkout:
작은소행성☄️ 2024. 1. 30. 10:53728x90
develop 브랜치에서 다른 feature 브랜치로 checkout 하는데 다음과 같은 에러가 발생했다.
error: The following untracked working tree files would be overwritten by checkout:
해결방법
추적하지 않는 파일을 제거하면 된다.
# == 적용하지 않고 무엇을 해야할 지만 보고 싶을 때 ==
git clean -fd --dry-run # 또는
git clean -fdn
# == 적용하고 싶을 때 ==
git clean -fd
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 |
| [git] fatal: will not add file alias 'filename' ('filename' already exists in index) (0) | 2022.11.15 |
| [Jenkins] jenkins github 연결하기 (0) | 2022.05.25 |
| [github] Git Action 이용해서 티스토리 게시글 깃허브에 업로드하기 (0) | 2022.04.14 |