An implementation of git fast-export for Pijul
# pijul-export

An implementation of `git fast-export` for Pijul.

Example:

```
mkdir myproject-git
cd myproject-git
git init
pijul-export --repo ~/myproject | git fast-import

```

The result is a Git repository with a single branch (main),
containing a linear history corresponding to the history of the
main channel in the Pijul repository at ~/myproject.
(If you want to use a different channel, specify it with `--channel`.
The destination branch will have the same name as the source channel,
unless you specify it with `--branch`.)


I recommend using mark files to record the correspondence
between states in Pijul and commits in Git:

```
mkdir myproject-git
cd myproject-git
git init
touch pijul-marks git-marks
pijul-export --repo ~/myproject --marks pijul-marks | git fast-import --import-marks=git-marks  --export-marks=git-marks
git checkout main
```