Fournir aux étudiants un environnement structuré pour pratiquer Git avec un projet Godot avant et pendant un game jam.
/ (racine)
├── .gitignore
├── .gitattributes
├── README.md
├── docs/
│ ├── guide_collaboration.md
│ └── vscode_setup.md
├── exercises/
│ ├── individual/
│ │ ├── 01_initialisation_commit.md
│ │ ├── 02_scene_modification.md
│ │ ├── 03_branches.md
│ │ ├── 04_conflits.md
│ │ └── 05_historique.md
│ └── team/
│ ├── 01_setup_repo.md
│ ├── 02_feature_workflow.md
│ ├── 03_conflicts_team.md
│ ├── 04_sync_continue.md
│ └── 05_simulation_game_jam.md
├── godot_project/ (projet de base à compléter)
└── exercices_git_godot.md (index global — sera simplifié)
git clone <url-du-depot>
cd game_jam_prep
code .- Lire
docs/vscode_setup.md - Ouvrir
godot_project/dans Godot - Commencer par
exercises/individual/01_initialisation_commit.md
- GitLens
- Git Graph
- godot-tools
| Branche | Rôle |
|---|---|
| main | Stable / jouable |
| dev (optionnel) | Intégration collective |
| feature/* | Développement isolé |
| hotfix/* | Correction urgente |
- Init & configuration Git
- Branches & merges
- Conflits & résolutions
- Historique & revert/reset
- Collaboration multi-personnes
Basé en partie sur des ressources publiques (Beerday Games, docs Godot).
- Ajouter un vrai projet Godot dans
godot_project/ - Scripts d’export automatisés (CI)
- Intégrer Git LFS si assets lourds
| Fichier | Rôle |
|---|---|
.gitignore |
Ignore dossiers générés Godot, builds, fichiers système |
.gitattributes |
Normalise fins de ligne et marque binaires |
Après installation de Git LFS:
git lfs track "*.png"
git lfs track "*.wav"
git add .gitattributes
git commit -m "chore: activer LFS pour images et audio"Bon apprentissage et bon game jam! 🎮