Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

mode name
drwxr-xr-x src/
-rw-r--r-- .ignore
-rw-r--r-- COPYING
-rw-r--r-- Cargo.lock
-rw-r--r-- Cargo.toml
-rw-r--r-- README.md
README

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