Contribute code with the Web IDE
The GitLab Web IDE is a built-in advanced editor with commit staging.
The example in this section shows how to modify a line of code as part of a community contribution to GitLab code using the Web IDE.
-
Go to the GitLab community fork.
-
Search the GitLab code for the string
Customize the color of GitLab
. From the GitLab Community Fork:- On the left sidebar, select Search or go to.
- Enter the search string
"Customize the color of GitLab"
.
-
Select the filename from the results. In this case,
app/views/profiles/preferences/show.html.haml
. -
Open the file in Web IDE. Select Edit > Open in Web IDE.
- Keyboard shortcut: .
-
Update the string from
Customize the color of GitLab
toCustomize the color theme of the GitLab UI
. -
Save your changes.
-
On the left activity bar, select Source Control.
Keyboard shortcut: Control+Shift+G.
-
Enter your commit message:
Update UI text Standardizing the text on this page so that each area uses consistent language.
Follow the GitLab commit message guidelines.
-
Select Commit to new branch from the Commit to dropdown list, and enter
1st-contrib-example
.If your code change addresses an issue, start the branch name with the issue number.
-
In the notification that appears in the lower right, select Create MR.
-
Continue to Create a merge request