> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# commit

> アクティブなブランチに変更を追加する

Diversion では、commit コマンドを呼び出して、アクティブなワークスペースの変更をアクティブなブランチに追加します。

```bash theme={null}
dv commit [files...] [-a] -m <commit_message> [--no-verify]
```

コミットするファイルを個別に指定するか、`[-a]` パラメータを使用してすべての変更をコミットできます。

コミットメッセージは必須で、`-m` フラグに続けて指定します。コミットメッセージは「引用符で囲む」必要があります。

`[--no-verify]` は pre-commit フックをスキップします。

すべてのファイルをコミットに追加する例:

```bash theme={null}
dv commit -a -m "Implemented running animations."
```

コミット後、変更は同じブランチにいるすべてのユーザーに複製されます。

単一のコミットで [pre-commit フック](/ja/advanced/pre-commit-hooks) をスキップするには、`--no-verify` フラグを使用します:

```bash theme={null}
dv commit -a -m "quick fix" --no-verify
```
