Hey, is it possible to override a git-based a file...
# best-practices
b
Hey, is it possible to override a git-based a file-storage block - either github or gitlab - to get the git repo at a specific git ref, upon
prefect deployment build
? (Same way you can pass an override to a docker-container) Edit: corrected the command from git to prefect, my bad
t
I think what you want is to define the
Reference
in the git-block.
b
Right, but I may need to do that at
prefect deployment build
. I have three models, each living in a different branch. For each model, a deployment with a different
Reference
. Can I override the
Reference
parameter on the fly (for which the syntax I would like know) or do I have to create a block for each branch?
t
Oh, now I get it. I have a block for each branch (results in many blocks).