How to configure rebar3 to fetch dependencies from another host?

I have an app which uses rebar3, eg cowboy.

My question is: how can I easily configure it to fetch cowboy from another host? I would like to switch from to my own host.


  • You want to build cowboy that has two dependencies which are git repositories on GitHub ( and to be specific). But you want to fetch the repositories from some other host, like your company's own git server where you mirrored all public repositories you need.

    You have a number of options:

    git config --global url.