I have a local project which is also present as a git repository.
Recently, me and my colleague worked on two different changes on the project. He modified some files and pushed it on the remote repository. I made some changes which are present in my local repository and do not conflict with any of his changes on the remote repository.
I need to first get his changes from remote repository and push my changes along with his that I just got to the remote repository. How do I do it?
Will something like - git pull origin master override my local changes with the current project on the remote repository?
Is there a way I can merge these commits?