İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
749 Görünümler

I accidentally deleted my production branch from the Github repository, meaning it is in Odoo.SH and working properly but it does not appear in github.


Any ideas on how to restore my production brand to github?

Thisis the message that appears on Odoo.sh:


Warning! This branch got deleted on the remote repository.

It is imperative you restore it before doing any other operation.

If you do not know how to do this, please contact our support.


I did contact support and they say it is not an Odoo issue (i already know that) and i can´t find anything in Github help

Avatar
Vazgeç
Üretici En İyi Yanıt

Yes I read it but the problem is the pull request doesn't show. I think its because I deleted the branch too long ago.

I will try to create a new branch and install my database in it.


Update:

It was definitely impossible to recover the Github branch because I took too long and I guess it got trashed.

What I did (and it worked) was the following:

  1. I Backed up my database and downloaded it to my computer (for safety)

2. I deleted the problem production branch

3. I moved the staging branch to production

4. I uploaded the backed up database


Avatar
Vazgeç