본문 바로가기
개발

.gitignore 문법

by 적아38 2023. 6. 9.
728x90
# : comments

# no .a files
*.a

# but do track lib.a, even though you're ignoring .a files above
!lib.a

# only ignore the TODO file in the current directory, not subdir/TODO
/TODO

# ignore all files in the build/ directory
build/

# ignore doc/notes.txt, but not doc/server/arch.txt
doc/*.txt

# ignore all .pdf files in the doc/ directory
doc/**/*.pdf

 

https://nesoy.github.io/articles/2017-01/Git-Ignore

728x90

'개발' 카테고리의 다른 글

스프링 코틀린 다운로드 설정  (0) 2024.01.22
[Intellij]한글 Spring Boot profiles 설정  (0) 2023.02.09
[JAVA]DTO, VO  (0) 2023.02.08
[java] Spring은 계층 구조  (0) 2023.02.08
[java] 빌드패턴  (0) 2023.02.08

댓글