| 1 |
--- |
| 2 |
title: "Quick Start" |
| 3 |
description: Quick guide on how to get started with changie. |
| 4 |
--- |
| 5 |
|
| 6 |
> Before starting, if you already have a `CHANGELOG.md` read the |
| 7 |
> [backup guide](backup.md) first. |
| 8 |
|
| 9 |
Run `init` to bootstrap your project with a sample config, header and empty changelog. |
| 10 |
|
| 11 |
```sh |
| 12 |
changie init |
| 13 |
``` |
| 14 |
|
| 15 |
You can [configure](../config/index.md) changie by editing the generated `.changie.yaml` file. |
| 16 |
|
| 17 |
When completing work on a feature, bugfix or user impacting change use the new command |
| 18 |
to generate your change file. |
| 19 |
|
| 20 |
```sh |
| 21 |
changie new |
| 22 |
``` |
| 23 |
|
| 24 |
When it is time to prepare your next release, batch all unreleased changes into one using the batch command. |
| 25 |
|
| 26 |
```sh |
| 27 |
# changie supports semver bump values |
| 28 |
changie batch <major|minor|patch> |
| 29 |
# using an explicit version |
| 30 |
changie batch <version> |
| 31 |
# or using auto if you have kinds configured for auto bumps |
| 32 |
changie batch auto |
| 33 |
``` |
| 34 |
|
| 35 |
After you have batched a new version you can merge it into the parent changelog using the merge command. |
| 36 |
|
| 37 |
```sh |
| 38 |
changie merge |
| 39 |
``` |
| 40 |
|
| 41 |
<video controls> |
| 42 |
<source src="/static/quick_start.webm" type="video/webm"> |
| 43 |
</video> |