does railway use .gitignore for "railway up"?
https://stackoverflow.com/questions/76394368/does-railwaycli-ignore-files-defined-in-gitignore
This post says no but yesterday my new sites css was missing. I then removed the .gitignore and it was there.
Project Id: 969389da-3e84-49b8-bf1c-b3483befcbcc
Stack Overflow
Does RailwayCLI ignore files defined in .gitignore?
The command railway up takes your current local project and uploads it directly to railway without having to link a Github repo to your railway project.
Does RailwayCLI take into account .gitignore...
4 Replies
Project ID:
969389da-3e84-49b8-bf1c-b3483befcbcc
it uses both .railwayignore and .gitignore
ok i replied wit hthe correct answer
Thanks for the clarification. If I add an ignore overwrite to railwayignore could that overwrite .gitignore?
Use case is that I have a generated CSS file using tailwindcss that I would prefer not to track in my got history (as it would blow up repo size due to churn)
But that file should be delivered to railway.
Sorry, away from computer to test if it already works that way
I'm not sure what rule file is read last, bet to test this yourself when you have the chance