commit b438d02c93a4678276036cd8201e0e53774a2adb (HEAD)
Author: James <test@gmail.com>
Date: Mon Jul 12 13:32:42 2021 +0100
I fixed the input element on the user form
commit 684ec9c25e0320571173c29907029e9202950c43 (origin/master, master)
Author: James <test@gmail.com>
Date: Mon Jul 12 11:57:43 2021 +0100
I added user form
commit d65c75387d02b89a6d593522950480fbdcb7cc65
Author: James <test@gmail.com>
Date: Wed Jul 7 17:32:08 2021 +0100
update README
My head and origin are not aligned(embarrassing right?). I have checked-out to master
git checkout 684ec
. I commitedI fixed the input element on the user form
and pushed it to my remote(github) but got 'everything up to date'.When I have
git log
I saw that it was committed on Head again which is not same as master.As you can see I literally lost my head. How can I go back to master. I don't mind to give up on my last commit(
I fixed the input element on the user form
).
What should I do to go back to master and be well-organised?
PS I haven't opened branch because its my own personal project, no collaborators