I have a git setup on my web hosting and on my Bitbucket account, which are both connected.
How can I return to my first commit on my hosting (which I registered via SSH and installed git is ready and working) and on Bitbucket?
I tried: git checkout 965a793
Then I tried with a dot at the end: git checkout .
but nothing changes on the side of Bitbucket when I get to git push. It says everything is up to date, although Bitbucket is on holdcf08232
Here is a list of my three commits:
cf08232 remove the txt file
096d08f test.txt edited online with Bitbucket
965a793 Initial Commit
source
share