diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-06-21 13:28:50 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-06-21 13:28:50 +0200 |
commit | 24ad2f4f0d9e8ebfd8133a572f29e52b74cd7dd5 (patch) | |
tree | 056c6dc55069e322db64875a1d16a65293a10ed8 /doc/user/gitlab-basics/add-file.md | |
parent | 0d287b06a6fa7a373df03378f9f1a048e5890a4f (diff) | |
download | gitlab-ce-documentation_restructure.tar.gz |
Restructure documentationdocumentation_restructure
The big plan in motion, see https://gitlab.com/gitlab-org/gitlab-ce/issues/3349
Diffstat (limited to 'doc/user/gitlab-basics/add-file.md')
-rw-r--r-- | doc/user/gitlab-basics/add-file.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/user/gitlab-basics/add-file.md b/doc/user/gitlab-basics/add-file.md new file mode 100644 index 00000000000..57136ac5c39 --- /dev/null +++ b/doc/user/gitlab-basics/add-file.md @@ -0,0 +1,31 @@ +# 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: + + + +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: + + + +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 : + + + +Add all the information that you'd like to include in your file: + + + +Add a commit message based on what you just added and then click on "commit changes": + + + +### Note +Besides its regular files, every directory needs a README.md or README.html file which works like an index, telling +what the directory is about. It's the first document you'll find when you open a directory. |