When something goes wrong
zev's messages, what they mean, and what to do. Search for the words of the message you got.
Search for a command to run…
zev's messages, what they mean, and what to do. Search for the words of the message you got.
Find the message you got below (press / and type a few of its words), or the situation you're in.
You ran a command outside a project. cd into the project folder (the one with the hidden .zev folder), or run zev init to make the current folder a project.
You haven't staged anything. Stage your changes first:
zev add .zev commit -m "message"The files you named are exactly as they were in the last commit, so there's nothing to stage. Check zev status to see what really changed.
The path is wrong (check spelling and the folder you're in), or the file was never committed, so there's nothing to stage.
A line in .zevignore matches this file. Remove or change that line if the file should be tracked.
Switching would overwrite changes you haven't committed, and zev never does that silently. Pick one:
zev commit -m "work in progress" # keep them, on this branchzev stash # keep them, aside (zev stash pop later)zev checkout --force branch # throw them awayzev pull got the new commits, but didn't change your files, because one you changed would have been overwritten. Nothing is lost. Commit or stash your changes, then:
zev checkout <your-branch>A merge conflict: both branches changed the same lines. Run zev merge <branch> --resolve and follow When both changed the same lines.
zev rm refuses to delete a file with uncommitted changes. Commit them first, use zev rm --cached to stop tracking but keep the file, or zev rm --force to delete it anyway.
You changed a file after stashing, and the stash would overwrite it. Commit or stash those newer changes, then zev stash pop again.
The project isn't connected to Zaryn yet. Either create it there:
zev newor connect it to an existing repository:
zev remote add origin owner/projectThis project's identity has no account on the server yet. Create one with --register and --email, or, if you made your account on the website, sign in with zev login zaryn.xyz --device.
zev couldn't connect to the server. Check the address (for Zaryn, zaryn.xyz is enough), your internet connection, and any proxy or firewall.
You aren't signed in, or your token was revoked or expired. Run zev whoami to check, and zev login again.
You're signed in, but your account can't do this here: for example, pushing to someone else's repository. Ask the owner to add you, or fork it.
The action needs Premium or more credits (private networks, some advanced tools). See Billing and credits.
The push is bigger than your plan allows (repository size or file size). Remove big generated files from the commit, ignore them, or upgrade.
A typo, or a git command zev names differently. zev suggests the closest command. Some common ones:
| git | zev |
|---|---|
git reset <file> | zev restore --staged <file> |
git checkout -- <file> | zev restore <file> |
git switch -c <branch> | zev switch -c <branch> (or zev checkout -b) |
git fetch + git merge | zev pull |
git mv a b | rename the file, then zev add a b |
If you haven't pushed: fix the files and make another commit (zev doesn't rewrite commits). If it was a secret, such as a password or key, treat it as leaked once it's in history: change the secret, then stop tracking the file:
zev rm --cached .envecho ".env" >> .zevignorezev add .zevignorezev commit -m "Stop tracking .env"Stop tracking it, ignore it, and commit:
zev rm --cached data/big.csvecho "data/big.csv" >> .zevignorezev add .zevignorezev commit -m "Don't track the big CSV"For data and model files you do want to keep, zev handles large files well: only the changed parts of a file are sent on each push.
That's a crash report. Please tell us: open an issue on Zaryn with the command you ran and the first lines of the output, or write to us from the Contact page.
zev --versionzev self updatezev 0.4 and later download in batches: a few requests instead of one per file. Older versions fetch every file on its own, which is slow on a long or filtered connection. Check with zev --version and update with zev self update. If it's still slow, the connection may be throttled: see the proxy.
zev help <command> explains any command.