Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/spec/v1/gitrepositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Git repository.
**Note:** Unlike using `git`, the
[shorter scp-like syntax](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_ssh_protocol)
is not supported for SSH addresses (e.g. `[email protected]:repository.git`).
Instead, the valid URL format is `ssh://[email protected]:22/repository.git`.
Instead, the valid URL format is `ssh://[email protected]/repository.git` (only 1 `:` allowed).

### Secret reference

Expand Down Expand Up @@ -195,6 +195,8 @@ stringData:
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----
#github.com usage example : copy-paste below the correct line (github.com ecdsa-sha2-nistp256...) of this command output: ssh-keyscan github.com
#if your repo is elsewhere : replace github.com with the right host
known_hosts: |
github.com ecdsa-sha2-nistp256 AAAA...
```
Expand Down