Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trigger.io .gitignore

Tags:

git

trigger.io

Noticing when I do builds for my Trigger.io app I get tons of new files in .template/ and development/.

Should I be git ignoring these files? Any advice or .gitignore files you want to share?

like image 577
botbot Avatar asked Apr 03 '26 02:04

botbot


1 Answers

The only files you need to keep in source control are in your src directory. In there, you can also exclude identity.json as different developers should have their own identity.

How can I add another collaborator to my trigger.io project?

So, if you're git repo is one level up from src, I'd have this in my .gitignore:

development
release
local_config.json
forge-error.log
src/identity.json

Of course, another option (which I tend to favour) is to only source control src and just include identity.json in your .gitignore...

like image 155
James Brady Avatar answered Apr 04 '26 15:04

James Brady



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!