BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7374f876
Commit
7374f876
authored
Oct 11, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reference the web editor docs in GitLab basics "Add a file"
parent
7d703a4d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
25 deletions
+3
-25
add-file.md
doc/gitlab-basics/add-file.md
+3
-25
No files found.
doc/gitlab-basics/add-file.md
View file @
7374f876
# How to add a file
You can create a file in your
[
shell
](
command-line-commands.md
)
or in GitLab.
To create a file in GitLab, sign in to GitLab.
Select a project on the right side of your screen:
![
Select a project
](
img/select_project.png
)
It's a good idea to
[
create a branch
](
create-branch.md
)
, but it's not necessary.
Go to the directory where you'd like to add the file and click on the "+" sign next to the name of the project and directory:
![
Create a file
](
img/create_file.png
)
Name your file (you can't add spaces, so you can use hyphens or underscores). Don't forget to include the markup language you'd like to use :
![
File name
](
img/file_name.png
)
Add all the information that you'd like to include in your file:
![
Add information
](
img/white_space.png
)
Add a commit message based on what you just added and then click on "commit changes":
![
Commit changes
](
img/commit_changes.png
)
You can create a file in your
[
terminal
](
command-line-commands.md
)
and push
to GitLab or you can use the
[
web interface
](
../user/project/repository/web_editor.md#create-a-file
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment