SRJN2XUAKIGKM34AU4S4ZWVJMGMCSTNSONK73WQY6FPGKEILGILAC ```cmdpijul record [-h | --help] [-V | --version] [--repository <repository>] [--branch <branch>] [(-A | --author) <author>] [(-m | --message) <message>] [--depends-on <depends-on>…] [-a | --all] [prefix]…
```cmd pijul record [-h | --help] [-V | --version] [-S] [--stdin] [--tag] [-a | --all][--amend <amend>] [(--author) <author>] [--channel <channel>][(-m | --message) <message>] [--repository <repository>][--timestamp <timestamp>][prefix]…
This command compares the pristine with the working copy, creates apatch, applies it to the pristine, and synchronises file moves.
This command compares the pristine with the working copy, creates a change,applies it to the pristine, and synchronizes file moves.
A patch is then saved to .pijul/patches (from the root of therepository), and can later be exchanged with[push](./reference/push.html) and [pull](./reference/pull.html).
A change is then saved to .pijul/changes (from the root of the repository),and can later be exchanged with [push](./push.md) and [pull](./pull.md).
By default, the comparison happens between the whole pristine and thewhole working copy. It can also be restricted to a list of paths,
By default, the comparison happens between the whole pristine andthe whole working copy. It can also be restricted to a list of paths,
If this is the first command to be run after installing Pijul for thefirst time, a file named ~/.pijulconfig/config.toml will be created, andyour author name will be saved there.
See [Getting started](../getting_started.md) part of the documentation on how toset up author for pijul record.
## Interative use
If running in default mode (without `-a` or `--all` flag) pijul will start thedefault editor (based on `$EDITOR` environment variable) to edit the changeproperties. You can modify:- change message,- timestamp,- authors,- dependencies,- and changes to record.
When `pijul record` is invoked interactively, the user will be asked aseries of questions with the prompt `[ynkad]`. The possible answers are:* `y`: include the change in the patch.* `n`: don't include the change in the patch.* `k`: undo the previous answer and go back to the previous change.* `a`: include all the following changes in the patch.* `d`: do not include any of the following changes in the patch.
Changes are numbered, but You do not have to fix numbering after deleting thoseparts You do not want to record.
Add a list of dependencies to this patch. Dependencies are normallyinferred by Pijul, but some semantic dependencies cannot beinferred. Use this command to add them.
Add a message to this change, summarizing your changes.