Skip to content

Repository Workflow

B-yassine edited this page Nov 23, 2026 · 1 revision

Repository Workflow

This page describes the recommended workflow for changes to the training repository.

Branching

Create a branch for a focused change:

git switch main
git pull
git switch -c feature/short-description


Use a branch name that describes the work.

## Committing

Check your changes before committing:
git status
git diff


Create a clear commit:
git add .
git commit -m "docs: describe the change"

## Pull requests

1. Push your branch.
2. Open a pull request targeting main.
3. Explain what changed and why.
4. Review the diff.
5. Address feedback.
6. Merge after the required checks and review are complete.

## Documentation checks

Before submitting documentation changes, run the repository's documentation checks. Follow the commands in the README or documentation setup guide.

## Keep changes focused

Prefer one branch and one pull request for a related set of changes. Avoid mixing unrelated lesson edits, repository configuration changes, and other work in the same pull request.

Clone this wiki locally