When you're done editing code, you might want your peers to review it. Instead of mailing patches around, you can do this in a super easy way in GitLab using a merge request.
To follow this recipe, you need a project in GitLab, and you need that project cloned to your local system so that you can edit some code. I'll be using the
super-git project we created in a previous chapter.
Go to the project on your local machine:
Make sure you're on the
git checkout master
Before we make any changes to the code, we want to create a new
git checkout -b awesome-feature
Let's make a change to the
echo "Change" >> README.md
Now, we will commit this change:
git commit -a...