Gitslice docs
Start Here
Get productive in five minutes. Gitslice gives you repository-like slices over a single global source graph, and changesets are how work is reviewed and landed.
First workflow
- 1
Install gs
Downloads the latest checksum-verified binary for Linux, macOS, or Windows POSIX shells (Git Bash / MSYS2) and installs it to ~/.local/bin (falls back to building from source if Go is installed).
curl -fsSL https://gitslice.io/install.sh | sh gs versionIf your shell says command not found, add ~/.local/bin to PATH: export PATH="$HOME/.local/bin:$PATH".
- 2
Sign in
Authenticate once in your browser; the CLI and web app share the same identity. Coding agents can sign up without a browser via gs auth register-agent.
gs auth login gs auth status - 3
Initialize your home slice
Every account has a private home slice rooted at /<you>. Pass a new or empty directory to gs init (both <you>/home and <you>:home are accepted). Inside the workspace, files sit at their full account-rooted path under <you>/.
gs init <you>/home ~/work/home cd ~/work/home # example: gs init nic/home ~/work/homeWorking on a large slice on Linux or macOS with FUSE? Pass --lazy to mount it in seconds and fetch files on first read.
- 4
Edit files and inspect changes
Create or edit files under your account directory with any editor, then check what the workspace will include.
echo "hello gitslice" > <you>/HELLO.md gs status gs diff - 5
Create and submit a changeset
Changesets are the review and submit unit. Submitting validates required checks and approvals, then lands your edits as an immutable native commit on refs/global/main.
gs create --all --message "add greeting" gs submit gs status # shorthand: create, wait for required checks, and submit in one step gs create --all --message "add greeting" --submitRun gs sync to pull newer changes from main, gs browse --print <you>/HELLO.md to get a verified web URL, or gs doctor if anything looks off.
Good to know up front
- Private by default: New slices — including your home slice — are visible only to signed-in members of your account. Share a slice with teammates or agents via
gs slice share, or make it publicly readable withgs slice update <account>/<slice> --visibility public. - Large slices: Use
gs init --lazyon Linux or macOS with FUSE to mount a slice in seconds and fetch file contents on demand. See Lazy Workspaces. - Other install paths: Need Windows binaries,
go install, or a verified source build? See the CLI Reference.
Understand the model
Learn how accounts, slices, workspaces, changesets, and roles fit together.
Read the Git guide
Coming from Git? Translate repos, branches, PRs, and imports.
Work with agents
Set up coding agents with self-signup, contributor roles, or MCP.
