일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- devops
- db
- JVM
- IntelliJ
- Spring Boot
- AWS
- Spring
- ReactJS
- 요리
- jenkins
- Gradle
- it
- elasticsearch
- Oracle
- tool
- jsp
- MySQL
- Web Server
- Design Patterns
- linux
- Spring Batch
- redis
- ubuntu
- 맛집
- springboot
- Git
- java
- laravel
- javascript
- php
Archives
- Today
- Total
아무거나
[git] commit or discard the untracked or modified content in submodules 본문
Infra/Git & SVN
[git] commit or discard the untracked or modified content in submodules
전봉근 2019. 10. 26. 23:09반응형
...
(commit or discard the untracked or modified content in submodules)
modified: ... (modified content, untracked content)
```
위와 같이 에러메세지가 뜨면서 무시하고 push를 할 경우에는 repo에 제대로 저장되지 않는 현상이 일어난다.
그럴 경우 말 그대로 서브모듈로 뭔가 서브 디렉토리에 .git 저장소가 또 존재한다는 것이다.
find -name ".git"
위의 명령을 통하여 하위 디렉토리에 .git 모듈이 존재하는지 확인하면 존재하는 목록이 표시된다.
그러면 하위 .git 폴더를 모두 삭제한다. 그러면 해결된다.
반응형
'Infra > Git & SVN' 카테고리의 다른 글
[git] Git Commit Template 설정 (0) | 2020.06.02 |
---|---|
[gitlab] You can only use an existing protected branch ref as the basis of a new protected branch. (0) | 2020.01.05 |
[svn] Error validating server certificate for 'https://......' (0) | 2019.03.08 |
svn 충돌해결 방법(충돌 해결 옵션 설명) (0) | 2019.03.08 |
[svn] 기본사용 (0) | 2019.03.08 |
Comments