How it works
FOKS Git repositories are stored in the encrypted key-value store. Thegit-remote-foks binary (a symlink to foks) acts as a Git remote helper, so standard Git commands (push, pull, clone, fetch) work unchanged against foks:// URLs.
Encryption and decryption happen entirely on the client. The server stores only ciphertext.
Setup
After installing FOKS, create the remote helper symlink (needed once):foks binary’s directory to your PATH permanently.
Commands
create
foks:// URL on success.
| Flag | Description |
|---|---|
--team <team> | Create the repo under a team instead of your user |
ls
| Flag | Description |
|---|---|
--all-teams | List repos for all teams the current user is a member of |
--json | Output as JSON |
get-default-branch
set-default-branch
--force is specified.
Flags:
| Flag | Description |
|---|---|
--force | Set the default branch even if it doesn’t exist yet |
shell-config
git-remote-foks to work. Intended to be evaluated in your shell:
Using with standard Git
Once the symlink is in place and your shell is configured, usefoks:// URLs as you would any remote:
<owner> is your username or a team name.