Getting Started & CLI

From a fresh install to your first peer-to-peer clone in four commands.

1. Create your identity

$ gitforest init

Generates an Ed25519 keypair at ~/.config/gitforest/identity.key. Your public key is your identity on the network — no accounts, no passwords, no signups.

2. Add a repo to the network

$ gitforest add /path/to/your/git/repo --name myproject --description "My cool project"

Registers the repo in ~/.config/gitforest/config.toml and makes it shareable.

3. Start the daemon

$ gitforest daemon

This starts:

4. Clone from the network

From any other machine running GitForest:

$ git clone gitforest://<peer_id>/<repo_name>

Requires git-remote-gitforest on your $PATH (the install script handles this).

CLI reference

CommandDescription
gitforest initCreate a new identity
gitforest idShow your peer ID
gitforest add <path>Add a local git repo to the network
gitforest listList hosted repos
gitforest remove <name>Remove a repo from the network
gitforest statusShow network status
gitforest daemonStart the daemon
gitforest blob add <path>Import a file into the blob store
gitforest blob listList all stored blobs
gitforest blob info <id>Show blob details (size, pieces, path)
gitforest blob remove <id>Remove a blob from the store
gitforest blob pointer <id>Generate a pointer file for a blob
gitforest collection createCreate a collection manifest
gitforest collection listList collections
gitforest collection info <id>Show collection details
gitforest compute submit <repo>Submit a CI job
gitforest compute status <id>Check job status
gitforest compute worker-startStart offering compute
gitforest compute worker-stopStop offering compute
gitforest compute offersList available workers
gitforest compute wallet <chain> <addr>Configure payment wallet

Web UI

With the daemon running, open http://127.0.0.1:7878 for:

Collaboration

GitForest's collaboration layer (gt-collab) provides signed patches, fork + merge requests, and access control lists — designed for a network with no central authority. Merge requests arrive as proposals in the Web UI.

Next: Large File Storage All docs