First, don't think about discarding your changes. You will lose opportunities to learn the merge process.
Second, find a person who worked on the files causing conflict. You can see the history. Talk to the person and resolve conflicts in those files. Do the same for other conflicts.
If there are too many conflicts, your task may be a minor one, but repetitive. Try to find a pattern. This would help in resolving conflicts by the Git UI client tools. I use TortoiseGit. It helps in merge.
And for avoiding in the future,
-it's a very good practice to merge the develop branch regularly to your feature branch.
-If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.
It's a very good practice to merge the develop branch regularly to your feature branch.
If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.