summaryrefslogtreecommitdiff
path: root/doc/workflow/web_editor.md
blob: 7fc8f96b9ec6ab1af2bbee1b2e26f8e79d604c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# GitLab Web Editor

In GitLab you can create new files and edit existing files using our web editor.
This is especially useful if you don't have access to a command line or you just want to do a quick fix.
You can easily access the web editor, depending on the context.
Let's start from newly created project.

Click on `Add a file`
to create the first file and open it in the web editor.

![web editor 1](web_editor/empty_project.png)

Fill in a file name, some content, a commit message, branch name and press the commit button.
The file will be saved to the repository.

![web editor 2](web_editor/new_file.png)

You can edit any text file in a repository by pressing the edit button, when
viewing the file.

![web editor 3](web_editor/show_file.png)

Editing a file is almost the same as creating a new file,
with as addition the ability to preview your changes in a separate tab. Also you can save your change to another branch by filling out field `branch`

![web editor 3](web_editor/edit_file.png)