Skip to content
Exit codes

Exit codes

CodeMeaning
0success, including “nothing to do”
1unexpected failure
2usage, config, or precondition error
3API or authentication failure
4conflict: a lease is held, the head moved, or a fork was found
5integrity failure: checksum mismatch or a missing pack
6partial success: some files failed, the rest are complete
130interrupted

--output json writes one JSON object per line to stdout, with human output on stderr, so it composes in CI without either stream fighting the other.