Importing from a branch that's not Main

Hi Support !

if i’m on a branch that isn’t main, and my code says

IMPORT ‘github:// …’

then is this importing from main ? I think it is.

How do I get to import from the branch that’s the same as mine?




So this is our github url syntax:


so to to specify a branch which is not main you will do something like


In this example I am importing the code.rql from the branch errors in my personal user-repo repository.

If the branch is not specified it will try “main” and “master” in that order and use the first one that works

Unfortunately there is no way of importing a file on the same branch as you are. We can look at that if this is important to you?