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.