i am having an issue with github. I am not sure how to revert to my working version of the code.
What i have done is this :
I have attempted to merge my branch with master branch , but i was having alot of conflicts,
i tried to resolve those conflicts in the intellij tool and when all of them where done and i tried to run the code i got many errors like these
java: Couldn't find referenced attribute id for com.example.ticketing.model.ClientSubscription.client_id
I tried adding the missing fields to the classes with no success.
I am not sure how to resolve this and i want to revert the code to my previous commit. when i do
git reset --hard <commitnr>
it says my head is at that commit , but after that i am using git pull
to fetch the old content.
Everything seems to work at first but when i am running the code again i get the same errors as before like nothing changed.
What am i missing here?
Any help would be greatly appreciated !