How to use a specific git branch?


#1

I want to publish an app that has a github repository, and since the master branch has google stuff and precompiled binaries, I made an fdroid branch, however, I can’t figure out how to specify this in the metadata for my application.

Under Repo, I tried
Repo:https://github.com/adolfintel/sine-android.git;branches=fdroid
And that didn’t work.

Can you help me?
Thanks


#2

IIRC, you can just specify commit, but that makes autoupdates hard.

Why not setup a flavour instead?


#3

This is a copy-paste: How to use a specific git branch?

Wondering who’s doing this and why.