Init git submodule at specific commit hash
nickrttn
PROOP

a year ago

I've got a repo with a git submodule. Up until now, I have been cloning the submodule during at the latest commit in the main branch, but as we grow our repo, that is no longer sufficient and we would like to clone the submodule at the hash referenced in the parent repo. How could we do this, considering Railway doesn't init a git repo during the build?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

itsrems
EMPLOYEE

a year ago

Heya, I'm not sure your setup would fully work on railway; You might need to add some logic in your Dockerfile to fetch the submodules accordingly.


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...