.gitignore för Autotools
35 ignoreringsregler för Autotools, redo att kopieras till ditt repo.
GNU-byggsystem
Den kompletta .gitignore-filen för Autotools
# Genererad av LFGitignore - https://lfgitignore.com
# Skapad: 2026-10-13 15:55:38 UTC
# Tekniker: 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
# Genererad makefile
Makefile
Vad reglerna för Autotools faktiskt ignorerar
Alla mönster nedan och varför de hör hemma i din .gitignore.
Allmänt
| Mönster | Vad det ignorerar |
|---|---|
Makefile.in |
Allmänt |
/ar-lib |
Allmänt |
/mdate-sh |
Allmänt |
/py-compile |
Allmänt |
/test-driver |
Allmänt |
/ylwrap |
Allmänt |
.deps/ |
Allmänt |
.dirstamp |
Allmänt |
autom4te.cache |
Allmänt |
/autoscan.log |
Allmänt |
/autoscan-*.log |
Allmänt |
/aclocal.m4 |
Allmänt |
/compile |
Allmänt |
/config.cache |
Allmänt |
/config.guess |
Allmänt |
/config.h.in |
Allmänt |
/config.log |
Allmänt |
/config.status |
Allmänt |
/config.sub |
Allmänt |
/configure |
Allmänt |
/configure.scan |
Allmänt |
/depcomp |
Allmänt |
/install-sh |
Allmänt |
/missing |
Allmänt |
/stamp-h1 |
Allmänt |
/libtool |
Allmänt |
/ltmain.sh |
Allmänt |
.libs/ |
Allmänt |
/texinfo.tex |
Allmänt |
m4/libtool.m4 |
Allmänt |
m4/ltoptions.m4 |
Allmänt |
m4/ltsugar.m4 |
Allmänt |
m4/ltversion.m4 |
Allmänt |
m4/lt~obsolete.m4 |
Allmänt |
Makefile |
Genererad makefile |
Så använder du denna .gitignore för Autotools
- Kopiera reglerna för Autotools ovan eller ladda ner filen direkt.
- Skapa en fil med namnet .gitignore i roten av ditt Git-repo och klistra in reglerna.
- Om några av filerna redan spåras, kör git rm -r --cached . och gör sedan en ny commit — Git tillämpar bara ignoreringsregler på ospårade filer.
- Checka in .gitignore så att alla i teamet delar samma regler.