summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics/add-file.md
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-06-22 22:56:15 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-09-02 13:03:52 +0200
commit05c22ca3e0a4db1cd4b23376bb2b61cc0e877eff (patch)
tree648f700e944ef08d351ce880bdfc5fecf2d8620e /doc/gitlab-basics/add-file.md
parentfaac71215789cb8224c14be0a4fcbe252a99fa4f (diff)
downloadgitlab-ce-05c22ca3e0a4db1cd4b23376bb2b61cc0e877eff.tar.gz
Add documentation on template dropdowns
Diffstat (limited to 'doc/gitlab-basics/add-file.md')
-rw-r--r--doc/gitlab-basics/add-file.md16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/gitlab-basics/add-file.md b/doc/gitlab-basics/add-file.md
index 57136ac5c39..e1e55a43de4 100644
--- a/doc/gitlab-basics/add-file.md
+++ b/doc/gitlab-basics/add-file.md
@@ -26,6 +26,16 @@ Add a commit message based on what you just added and then click on "commit chan
![Commit changes](basicsimages/commit_changes.png)
-### 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.
+# On a new project
+
+When starting a new project, there are some common files which the new project might need too. Therefor a message will be displayed by GitLab to make this easy for you.
+
+![First file for your project](basicsimages/first_file.png)
+
+When clicking on either `LICENSE` or `.gitignore`, a dropdown will be displayed to provide you with a template which might be suitable for your project.
+
+![MIT license selected](basicsimages/mit_license.png)
+
+The license, changelog, contribution guide, or `.gitlab-ci.yml` file could also be added through a button on the project page. In the example below the license has already been created, which creates a link to the license itself.
+
+![New file button](basicsimages/file_button.png)