opschain git-remotes show
Included from Basic tier
opschain git-remotes show <project>/<name>
Shows one Git remote: its URL, display (public) URL, archived/disabled
state, periodic fetch interval, timestamps, and each credential reported as
set or unset. The server never returns a stored credential's value — a set
credential comes back as a masked placeholder, which this command renders
as set (masked); an unset one renders as -.
The remote is resolved by name through the project's remotes index, so the
positional argument is always <project>/<name>, never an id.
Output
name: origin
id: 0199a2c4-…
project: demo
url: https://github.com/acme/demo-config.git
public_url: -
archived: false
disabled: false
fetch_interval: 300
credentials (stored values are never returned by the server):
user: set (masked)
password: set (masked)
passphrase: -
ssh_key: -
created_at: 2026-10-01T03:12:45Z
updated_at: 2026-10-01T03:12:45Z
-o json|yaml prints the resource document instead.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Shown. |
| 1 | The remote or project was not found, or the request failed. |
| 2 | Usage error — malformed address, no server target. |
Named errors
expected <project>/<git-remote-name>, got "<arg>"— the positional argument has no slash or an empty half (exit 2).git remote "<name>" not found in project "<project>"— exit 1.git remotes live on a server's projects — pass --server <url> or 'opschain context use <name>'— no server target (exit 2).
See also
opschain docs cli/git-remotes-list— every remote at a glance.opschain docs cli/git-remotes-update— change what this shows.