티스토리 뷰

1. 현재 추적 중인 application.properties의 추척 취소: 

 

 - cmd:


 cd [.git 폴더가 있는 경로]
 git rm --cached [ignore할 파일의 경로와 파일명]

2. .gitifnore: 빈 공간에 ignore할 파일명 추가

3. 현재 디렉토리에 있는 ignore할 파일 삭제 

4. 커밋

5. 다시 ignore할 파일 추가 

6. sourcetree는 해당 파일을 잡지못함 

'Support' 카테고리의 다른 글

[DOS & Batch] batch file Ref  (0) 2022.04.18
[Log4j2] Config 파일 <log4j2.xml>  (0) 2022.04.14
[lumbok] 기본 어노테이션 요약  (0) 2021.07.01
[lib] Lombok  (0) 2021.06.30
[GitHub] 깃허브 기본 사용법  (0) 2021.06.08
Comments