Ludovic Frank Gitignore

.gitignore สำหรับ Autotools

กฎการละเว้นสำหรับ Autotools จำนวน 35 ข้อ พร้อมคัดลอกไปใช้ในคลังโค้ดของคุณ

ระบบสร้าง GNU

.gitignore ที่สมบูรณ์สำหรับ Autotools

# สร้างโดย LFGitignore - https://lfgitignore.com
# สร้าง: 2026-10-31 22:58:20 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 ที่สร้างขึ้น

วิธีใช้ .gitignore นี้สำหรับ Autotools

  1. คัดลอกกฎ Autotools ด้านบน หรือดาวน์โหลดไฟล์โดยตรง
  2. สร้างไฟล์ชื่อ .gitignore ที่รากของที่เก็บ Git ของคุณ และวางกฎลงไป
  3. หาก Git ติดตามไฟล์เหล่านั้นอยู่แล้ว ให้เรียกใช้ git rm -r --cached . แล้วคอมมิตอีกครั้ง เพราะกฎการละเว้นของ Git มีผลเฉพาะกับไฟล์ที่ยังไม่ได้ติดตาม
  4. คอมมิตไฟล์ .gitignore เพื่อให้ทุกคนในทีมใช้กฎเดียวกัน

เทมเพลต เครื่องมือสร้าง .gitignore อื่นๆ

ดูเทมเพลต เครื่องมือสร้าง ทุกอัน