How do i get git commands (git checkout specifically) to run on the Odoo.sh webshell

184 Views Asked by At

i want to rewind my odoo branch to the initial commit stage and have found this command for reverting it : git checkout <SHA1>.

Sadly when trying this on my odoo shell it said "fatal: not a git repository (or any of the parent directories): .git".

the SHA1 i gave it was the SHA1 of the initial commit of the main branch. I don't understand why this doesn't work. Any help is Appreciated thank you.

0

There are 0 best solutions below