169 похожих чатов

Hello. I have a public repo which has source code

for UI of my flutter android app. It has a workflow which builds the apk on every push.

Now i want to start firebase integration in the app. I was thinking to create a private branch so that no one can misuse my app with firebase connected.

But according to this
https://stackoverflow.com/questions/7983204/having-a-private-branch-of-a-public-repo-on-github
we cannot create a private branch on public repo.

i can try the other solution to duplicate the public repo into a private one. But then if i make changes to UI in the firebase private repo can i pull only that specific code to the UI public repo?

another solution was to create a branch on public repo for firebase integration but add the google services json to gitignore, but i have a workflow that builds the app, without the google services json the app will not build.

what is the efficient approach here?
i don't want to manually copy paste the UI code from firebase repo to UI repo everytime i make a change.

it would be better if there was an option to create a private branch on public repo.

2 ответов

15 просмотров

Why not download your personal google service Json from Firebase console

ANDRIO- Автор вопроса
Crazibeat AZCPAY
Why not download your personal google service Json...

i think you did not understand. yes i will download the personal google services json from firebase and put in my android directory. But when i will push the code to github, it will be available for all to use when they fork my repo. i want to prevent others from doing so. i do not want to make my repo private.

Похожие вопросы

Обсуждают сегодня

Такс, блин, таки кто-то знает, каким образом работают макросы stdin/stdout/stderr? Я влез в stdio.h, там определения нет, отладил через асмокод - вызывается функция со странны...
The Bird of Hermes
18
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Всем привет, на линуксе лучше на fasm или nasm учиться писать для начала ?
meszjol
14
Если у меня есть такой класс: Object = {} function Object:new(a_name, a_transform, a_color, a_mesh, a_material, a_shader, a_textures) local private = {} private.n...
Cuarno Vile
4
А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
было так ;void set_http_ver(RESPD* ptr, char* version, uint32_t length) // example: 'RTSP/1.1 ' set_http_ver: mov eax, [esp + 4] mov ecx, [esp + 8] ...
Mixail Frolov
5
@MrMiscipitlick А можешь макрос написать, который будет вычислять смещение относительно переданных меток? Просто .label1-.label2, и вернуть значение.
КТ315
35
зачем же переименовывать ? чтобы кол-во участников возросло или вдруг IBM от этого снова на свифте начнет кодить ? Я не понимаю что страшного в том что свифт гавно, если это т...
Oleh Nerzh
10
здравствуйте. совершаю вот такую вещь: strcpy(line, (char)current_number); где current number — неподписанный шорт, line — массив чаров. ругань следующая: main.c:29:30: error...
Roberto's Ширгозиев
13
Code Explorer / обновление содержимого окна, задержка - задержка, по моему, слишком большая, примерно 1 сек, хотелось-бы установить - макс. быстро - в настройках ide не нашел...
livontiy
1
Карта сайта