본문 바로가기
Issue/Git

[Git] gitignore 특정 파일/폴더 무시

by hyeonjins 2024. 4. 26.

.gitignore 파일생성 -> 제외를 원하는 파일/폴더 작성

## 파일 무시
test.txt

## 다음과 같은 확장자는 전체 무시
*.txt

## 폴더 무시
test/

 

**이후 add>commit>push 해야 ignore가 적용됨

'Issue > Git' 카테고리의 다른 글

[Git] LF will be replaced by CRLF 에러  (0) 2024.04.20