I am trying to merge a pull request with my project, but it had conflicts. I download their branch and then went through each file and solved the conflicts, then I committed each file.
I followed the instructions here: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line
At the end it says "You can now merge the branches on the command line or push your changes to your remote repository on GitHub and merge your changes in a pull request." but I don't understand what this means.
How do I merge the pull request with my resolved merge conflicts?
if I try to just git push
i get this:
! [rejected] master -> master (fetch first) hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again.`