mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 06:02:42 +00:00
fix(coding-agent): handle git @ref parsing edge cases and pinned update tests refs #1299
This commit is contained in:
parent
8abcb35c62
commit
f33844fe37
3 changed files with 73 additions and 29 deletions
|
|
@ -66,6 +66,7 @@ ssh://git@github.com/user/repo@v1
|
|||
|
||||
- HTTPS and SSH URLs are both supported.
|
||||
- SSH URLs use your configured SSH keys automatically (respects `~/.ssh/config`).
|
||||
- For non-interactive runs (for example CI), you can set `GIT_TERMINAL_PROMPT=0` to disable credential prompts and set `GIT_SSH_COMMAND` (for example `ssh -o BatchMode=yes -o ConnectTimeout=5`) to fail fast.
|
||||
- Raw `https://` URLs work without the `git:` prefix.
|
||||
- Refs pin the package and skip `pi update`.
|
||||
- Cloned to `~/.pi/agent/git/<host>/<path>` (global) or `.pi/git/<host>/<path>` (project).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue