Autotools용 .gitignore
저장소에 바로 복사할 수 있는 Autotools 제외 규칙 35개.
GNU 빌드 시스템
Autotools용 전체 .gitignore
# LFGitignore로 생성 - https://lfgitignore.com
# 생성일: 2026-10-13 15:56:36 UTC
# 기술: Autotools
### Autotools ###
Makefile.in
/ar-lib
/mdate-sh
/py-compile
/test-driver
/ylwrap
.deps/
.dirstamp
autom4te.cache
/autoscan.log
/autoscan-*.log
/aclocal.m4
/compile
/config.cache
/config.guess
/config.h.in
/config.log
/config.status
/config.sub
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1
/libtool
/ltmain.sh
.libs/
/texinfo.tex
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
# 생성된 makefile
Makefile
이 Autotools 규칙이 실제로 제외하는 항목
아래에서 각 패턴과 .gitignore에 포함하는 이유를 확인하세요.
일반
| 패턴 | 제외 대상 |
|---|---|
Makefile.in |
일반 |
/ar-lib |
일반 |
/mdate-sh |
일반 |
/py-compile |
일반 |
/test-driver |
일반 |
/ylwrap |
일반 |
.deps/ |
일반 |
.dirstamp |
일반 |
autom4te.cache |
일반 |
/autoscan.log |
일반 |
/autoscan-*.log |
일반 |
/aclocal.m4 |
일반 |
/compile |
일반 |
/config.cache |
일반 |
/config.guess |
일반 |
/config.h.in |
일반 |
/config.log |
일반 |
/config.status |
일반 |
/config.sub |
일반 |
/configure |
일반 |
/configure.scan |
일반 |
/depcomp |
일반 |
/install-sh |
일반 |
/missing |
일반 |
/stamp-h1 |
일반 |
/libtool |
일반 |
/ltmain.sh |
일반 |
.libs/ |
일반 |
/texinfo.tex |
일반 |
m4/libtool.m4 |
일반 |
m4/ltoptions.m4 |
일반 |
m4/ltsugar.m4 |
일반 |
m4/ltversion.m4 |
일반 |
m4/lt~obsolete.m4 |
일반 |
Makefile |
생성된 makefile |
이 Autotools용 .gitignore 사용 방법
- 위의 Autotools 규칙을 복사하거나 파일을 바로 다운로드하세요.
- Git 저장소 루트에 .gitignore라는 파일을 만들고 규칙을 붙여 넣으세요.
- 이미 추적 중인 파일이 있다면 git rm -r --cached . 명령을 실행한 다음 다시 커밋하세요. Git은 추적하지 않는 파일에만 제외 규칙을 적용합니다.
- 팀원 모두가 같은 규칙을 사용하도록 .gitignore를 커밋하세요.