Documentation/content
Sepperlot 29c674e528 fix: SSH repo URLs (#716)
Correct SSH URL examples to avoid confusion. Codeberg supports two different SSH URL formats with different delimiters (`:` vs `/`), but the current documentation mixes them, which can lead to misconfigurations - especially when using pattern-based Git configurations such as `includeIf "hasconfig:remote.*.url:`

There are two valid SSH URL formats when accessing Codeberg repositories:

1. SCP-like syntax (colon delimiter)
```bash
git@codeberg.org:<user>/<repo>.git
```

2. Full SSH URL syntax (slash delimiter)
```bash
ssh://git@codeberg.org/<user>/<repo>.git
```

Git treats these formats differently, so inconsistent examples in documentation can cause tools or config conditions to fail. In my case, `includeIf "hasconfig:remote.*.url:"` did not match correctly because the documented format did not reflect the proper SSH URL structure.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/716
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Sepperlot <sepperlot@noreply.codeberg.org>
Co-committed-by: Sepperlot <sepperlot@noreply.codeberg.org>
2025-12-09 15:15:02 +01:00
..
_data Add woodpecker ci & many linters (and their required fixes) (#377) 2024-06-11 07:51:22 +00:00
_includes Use Halfmoon v2 (#655) 2025-08-12 17:53:32 +02:00
advanced Refactor and fix tables (#627) 2025-06-16 22:57:17 +02:00
ci Fix lint issues (#629) 2025-11-21 12:35:05 +01:00
codeberg-pages Fix lint issues (#629) 2025-11-21 12:35:05 +01:00
codeberg-translate Refactor and fix tables (#627) 2025-06-16 22:57:17 +02:00
collaborating Fix lint issues (#629) 2025-11-21 12:35:05 +01:00
getting-started Note about CC0 for code (#704) 2025-11-24 15:32:51 +01:00
git doc: fixed typo in content/git/reduce-size.md (#717) 2025-12-08 16:23:43 +01:00
images explain enabling repository releases (#597) 2025-06-10 18:51:17 +02:00
improving-codeberg Fix bottom margin in admonitions and card text + fix card margin on 'Donating to Codeberg' page (#668) 2025-08-23 01:52:48 +02:00
improving-documentation Fix lint issues (#629) 2025-11-21 12:35:05 +01:00
integrations chore(deps): update dependency prettier to v3.6.2 (#686) 2025-10-20 18:58:07 +02:00
markdown fix typo in content/markdown/faq.md (#703) 2025-11-22 11:07:10 +01:00
security fix: SSH repo URLs (#716) 2025-12-09 15:15:02 +01:00
contact.md Contact: Add deadline disclosure for press/media inquiries (#715) 2025-12-06 18:17:38 +01:00
content.11tydata.json Add woodpecker ci & many linters (and their required fixes) (#377) 2024-06-11 07:51:22 +00:00
halfmoon.njk Use Halfmoon v2 (#655) 2025-08-12 17:53:32 +02:00
home.md Reduce line length limit and format content (#623) 2025-06-14 11:38:21 +02:00
redirects.md Add woodpecker ci & many linters (and their required fixes) (#377) 2024-06-11 07:51:22 +00:00