I have made good progress on a PHP extension and I'd like to post it on
github to get some review and help from some others. The folder has quite a
few files and I'm hoping to avoid putting anything in git that doesn't need
to be there.

I see that php 5.6 has this .gitignore file:
http://git.php.net/?p=php-src.git;a=blob_plain;f=.gitignore;hb=f5751638dbd77136ce5c90e7d8bd090aa655c2a3

But that one is for the root of the php project. I just want my git repo to
contain my code in the ext/extension-name folder.

Can anyone recommend a good .gitignore file for extensions? I looked around
in a bunch of the PECL dirs and found a couple:
http://git.php.net/?p=pecl/languages/v8js.git;a=tree
http://git.php.net/?p=pecl/networking/ssh2.git;a=tree

Reply via email to