There is a remote master in Gitlab [http://something.com/somemaster.git
]
I created a remote branch from Gitlab UI in browser [http://something.com/somemaster/mybranch.git
]
I cloned the remote branch in my Windows machine [/e/myprojects/mybranch (master)
]. I added code to my local branch master and have pushed the code to remote branch.
Meanwhile other people have added code to remote master.
Now, I want to push my changes to the remote master.
How to do that has become very confusing to me. Following is what I think needs to be done.
- Merge the changes from remote master to my local branch master
- Commit and Push the merged local branch master to my remote branch
- Create a merge request so that admin can merge my changes to remote master
If the above are correct, what commands do I need for step#1 and do I run them while I am in the local branch master in git bash? I am more comfortable with merge than rebase.