Skip to content
language19개 활성 규칙2026-09-30 검증 완료

O Caml .gitignore 템플릿

Standard O Caml gitignore template from upstream github/gitignore collection. GitHub 공식 리포지토리 패턴과 결정론적으로 병합되어 의존성 폴더, 빌드 결과물, 로컬 환경 변수 파일로부터 저장소를 깨끗하게 지켜줍니다.

인터랙티브 스택 생성기

전체 생성기에서 열기
Search for templates
빠른 추가:
선택됨1
O Caml
선택된 템플릿 (1)
.gitignore
19개 규칙
### O Caml ###
*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa
# Files containing detailed information about the compilation (generated
# by `ocamlc`/`ocamlopt` when invoked using the option `-bin-annot`).
# These files are typically useful for code inspection tools
# (e.g. Merlin).
*.cmt
*.cmti
# ocamlbuild and Dune default working directory
_build/
# ocamlbuild targets
*.byte
*.native
# oasis generated files
setup.data
setup.log
# Merlin configuring file for Vim and Emacs
.merlin
# Dune generated files
*.install
# Local OPAM switch
_opam/
38줄•UTF-8
결정론적 파이프라인

O Caml .gitignore 원본 소스

크롤링 가능한 공식 업스트림 원본 템플릿
ocaml.gitignore•37 lines•UTF-8
*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa
# Files containing detailed information about the compilation (generated
# by `ocamlc`/`ocamlopt` when invoked using the option `-bin-annot`).
# These files are typically useful for code inspection tools
# (e.g. Merlin).
*.cmt
*.cmti
# ocamlbuild and Dune default working directory
_build/
# ocamlbuild targets
*.byte
*.native
# oasis generated files
setup.data
setup.log
# Merlin configuring file for Vim and Emacs
.merlin
# Dune generated files
*.install
# Local OPAM switch
_opam/

주요 제외 패턴 해설

빌드 및 컴파일 산출물

컴파일 과정에서 생성되는 바이나리, 중간 오브젝트 파일, 출력 결과물 폴더를 제외합니다.

*.annot*.a*.o_build/

캐시 및 임시 작업 파일

컴파일러 캐시, 테스트 커버리지 보고서, 임시 작업 스크래치 파일을 제외하여 저장소를 가볍게 유지합니다.

setup.log

출처 및 라이선스 검증

라이선스:: CC0-1.0

이 파일을 프로젝트 루트 디렉터리에 .gitignore라는 이름으로 저장하세요. 새로 추가되거나 아직 추적되지 않은 파일에 즉시 적용됩니다.