Documentation/content/git/index.md
Javier Pérez c6ac9a9f94 Reduce line length limit and format content (#623)
# Changelog

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Changed

- Update line length limit from 500 characters to 120 characters.

## Fixed

- Most instances of these lint issues:
  1. Lines longer than 120 characters ([MD013](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md)).
  2. Trailing whitespaces ([MD009](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md)).
  3. Ordered list item prefix ([MD029](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md)).
  4. Bare links ([MD034](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md)).

Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/623
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Javier Pérez <walpo@noreply.codeberg.org>
Co-committed-by: Javier Pérez <walpo@noreply.codeberg.org>
2025-06-14 11:38:21 +02:00

1.2 KiB

eleventyNavigation
key title icon order
Git Working with Git Repositories code-branch 30

On these pages, you will learn how to use the Git version control system with Codeberg.

There are 2 ways to interact with a Git repository hosted on Codeberg:

  1. via the command-line, either through SSH or HTTP.
  2. using the web UI

Option 1 requires a Git client of your choice installed on your local system.

We recommend the use of the SSH protocol.
It offers improved security through key-based access (stronger protection than a regular password) and better ease of use (no need to provide credentials on every push).

{% assign navPages = collections.all | eleventyNavigation %} {%- for entry in navPages %} {% if entry.url == page.url %} {%- if entry.children.length -%}

{%- for child in entry.children %} {%- endfor %}
Find out more in this section:
{{ child.title }}
{% endif %} {% endif %} {%- endfor %}