- iki dilli tek dosyalar en/ ve tr/ altına ayrıldı - Almanca, Fransızca, Rusça çeviriler eklendi (10 bölüm) - kök README dil seçici oldu; her dilde kendi içindekiler sayfası - her bölüme dil değiştirici satırı + önceki/sonraki gezinme eklendi
42 lines
1.9 KiB
Markdown
42 lines
1.9 KiB
Markdown
# 02 — Creating a repository
|
|
|
|
🌍 **English** · [Türkçe](../../tr/02-create-repository/readme.md) · [Deutsch](../../de/02-create-repository/readme.md) · [Français](../../fr/02-create-repository/readme.md) · [Русский](../../ru/02-create-repository/readme.md)
|
|
|
|
A repository is one project. Create one per project, not one per file.
|
|
|
|
## Steps
|
|
|
|
1. Press **+** at the top right → **New Repository**.
|
|
2. **Owner** — yourself, or an organisation you belong to.
|
|
3. **Repository name** — lowercase, no spaces: `network-lab`, `web-site`, `guide`.
|
|
4. **Description** — one line explaining what it is. It appears in search results.
|
|
5. **Visibility**
|
|
- *Public* — anyone who can reach the server can read it.
|
|
- *Private* — only you and the people you invite.
|
|
6. **Initialize repository** — tick it. This creates the first commit with a `README.md`, so the repository is usable straight away.
|
|
7. Press **Create Repository**.
|
|
|
|
## Good names
|
|
|
|
| Instead of | Prefer |
|
|
|-----------|--------|
|
|
| `Yeni Proje (son)` | `yeni-proje` |
|
|
| `Ağ Ödevi 1` | `network-lab-01` |
|
|
| `test test 2` | `packet-tracer-tests` |
|
|
|
|
Spaces and brackets in names make links harder to share and can confuse relative paths inside documents. Lowercase letters, digits and hyphens are always safe.
|
|
|
|
## After creation
|
|
|
|
- **Settings → Collaborators** — give other people read or write access.
|
|
- **Settings → Branches** — protect `main` so nobody commits to it directly.
|
|
- **Add File** — start filling the repository (chapter 03).
|
|
|
|
## Deleting a repository
|
|
|
|
**Settings → Danger Zone → Delete this repository.** You must type the repository name to confirm. This cannot be undone — the history goes with it.
|
|
|
|
---
|
|
|
|
⬅ [Previous: 01 — Getting started](../01-getting-started/readme.md) · 📚 [Contents](../README.md) · [Next: 03 — Adding and editing files](../03-add-and-edit-files/readme.md) ➡
|