Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Healthy git ignore #927

Open
joeyhub opened this issue Feb 13, 2019 · 0 comments
Open

Healthy git ignore #927

joeyhub opened this issue Feb 13, 2019 · 0 comments

Comments

@joeyhub
Copy link

joeyhub commented Feb 13, 2019

Would be nice to have some build spam hidden in gitignore.

/.libs/
/Makefile
/Makefile.*
/acinclude.m4
/aclocal.m4
/autom4te.cache/
/build/
/config.guess
/config.h
/config.h.in
/config.log
/config.nice
/config.status
/config.sub
/configure
/configure.ac
/install-sh
/libtool
/ltmain.sh
/missing
/mkinstalldirs
/modules/
/php_pthreads.lo
/pthreads.la
/run-tests.php
/src/.libs/
/src/*.lo

I largely stick to the practice of be exact with ignores. People should stick check git status and not rely on magic. The gitignore just means you can follow a process of git status, check things out, then git add -A.

Being too inexact may ignore things that repeat later on that are wanted and also hide things/lose being able to see new things pop up. Though clocking a pattern like *.lo (extensions/file types) tends to be quite reliable for binary types.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant