Hi,
I followed this tutorial https://www.balena.io/blog/deploy-a-digital-signage-application-with-screenly-and-resin/
I used a development image for balena.
Now i want to have one for production. When i tried to push it via git bash i get the following error:
“fatal: remote balena already exists.”
How do i push the code to the second app i created?
Hi @gh_shukhratk and welcome to the forums!
You have a couple of options:
- You can remove the remote for your first app by running
git remote remove balena
, after which you can try adding the remote for your second application again (with the command from the top right of the dashboard), and then push in the same way.
- You can add the second app alongside the first, so instead of running
git remote add balena <username>@...
you can change this to something like git remote add balenaprod <username>@...
and then you can push with git push balenaprod master
.
I hope this helps and good luck!
Hi @chrisys
Thanks for the welcoming and your quick response.
I will give that a try and let u know.