Its possible to select some branch in the pubspec.yaml
?
library_sdk: git: url: git://github.com/library/library.git
I need to use the develop branch instead master.
Paket allows you to automatically manage the linking of files from any Git repository. This feature assumes that you have git installed. If you don't have git installed then Paket still allows you to reference files from GitHub.
Under your repository name, click Settings. In the "Security" section of the sidebar, click Code security and analysis. Read the message about granting GitHub read-only access to the repository data to enable the dependency graph, then next to "Dependency Graph", click Enable.
Ok, from flutter doc (https://dart.dev/tools/pub/dependencies):
If you want to depend on a specific commit, branch, or tag, add a ref argument:
dependencies: kittens: git: url: git://github.com/munificent/kittens.git ref: some-branch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With