diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-03 17:25:36 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-03 17:26:42 +0300 |
commit | c59dfad9ff8b03eb223093ef5f8dc673b48852fd (patch) | |
tree | debfc094ab2a0589d89798d74425b67b3345a7c6 /doc | |
parent | 10960d6e811dd1ac20b5019648d955fec97ee2e6 (diff) |
Minor improvements to changelog docs
[ci skip]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/changelog.md | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/development/changelog.md b/doc/development/changelog.md index 6a97fae9cac..c71858c6a24 100644 --- a/doc/development/changelog.md +++ b/doc/development/changelog.md @@ -40,6 +40,15 @@ Its simplest usage is to provide the value for `title`: ```text $ bin/changelog 'Hey DZ, I added a feature to GitLab!' +``` + +The entry filename is based on the name of the current Git branch. If you run +the command above on a branch called `feature/hey-dz`, it will generate a +`changelogs/unreleased/feature-hey-dz.yml` file. + +The command will output the path of the generated file and its contents: + +```text create changelogs/unreleased/my-feature.yml --- title: Hey DZ, I added a feature to GitLab! @@ -47,10 +56,6 @@ merge_request: author: ``` -The entry filename is based on the name of the current Git branch. If you run -the command above on a branch called `feature/hey-dz`, it will generate a -`changelogs/unreleased/feature-hey-dz.yml` file. - ### Arguments | Argument | Shorthand | Purpose | @@ -139,7 +144,7 @@ Use the **`--git-username`** or **`-u`** argument to automatically fill in the $ git config user.name Jane Doe -$ bin/changelog --u 'Hey DZ, I added a feature to GitLab!' +$ bin/changelog -u 'Hey DZ, I added a feature to GitLab!' create changelogs/unreleased/feature-hey-dz.yml --- title: Hey DZ, I added a feature to GitLab! |