diff options
author | Valery Sizov <valery@gitlab.com> | 2017-03-16 13:39:43 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-03-16 13:39:43 +0200 |
commit | 19ed8bbdf1e2ea6ae0a65b62bc620e56d038bed7 (patch) | |
tree | aec68f49fbb241e2f74d37e90c8031dacba83743 | |
parent | ef447a6263e59b22e90a9629c2c5ae12f83d8bc5 (diff) | |
download | gitlab-ce-doc_about_branch_creation_in_empty_repo.tar.gz |
Document a New Branch feature for Bare Projectsdoc_about_branch_creation_in_empty_repo
-rw-r--r-- | doc/user/project/repository/web_editor.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/user/project/repository/web_editor.md b/doc/user/project/repository/web_editor.md index c415d566a7c..6b1154357cd 100644 --- a/doc/user/project/repository/web_editor.md +++ b/doc/user/project/repository/web_editor.md @@ -109,12 +109,19 @@ the title of the issue and as suffix it will have its ID. Thus, the example screenshot above will yield a branch named `2-et-cum-et-sed-expedita-repellat-consequatur-ut-assumenda-numquam-rerum`. +Since GitLab 9.0, when you do click the `New branch` in an empty repository project, GitLab automatically creates the master branch, commits a blank `README.md` file to it and creates and redirects you to a new branch based on the issue title. +If your [project is already configured with a deployment service][project-services-doc] (e.g. Kubernetes), GitLab takes one step further and prompts you to set up [auto deploy][auto-deploy-doc] by helping you create a `.gitlab-ci.yml` file. + + After the branch is created, you can edit files in the repository to fix the issue. When a merge request is created based on the newly created branch, the description field will automatically display the [issue closing pattern] `Closes #ID`, where `ID` the ID of the issue. This will close the issue once the merge request is merged. +[project-services-doc]: https://docs.gitlab.com/ce/user/project/integrations/project_services.html +[auto-deploy-doc]: https://docs.gitlab.com/ce/ci/autodeploy/index.html + ### Create a new branch from a project's dashboard If you want to make changes to several files before creating a new merge |