Labo-02
Leerstof
Oefening 1: Werken met Branches
mkdir oefening-git && cd oefening-git git init<!DOCTYPE html> <html> <head> <title>Mijn Website</title> </head> <body> <h1>Welkom op mijn website</h1> </body> </html>git add index.html git commit -m "Eerste commit - basis HTML"git branch nieuwe-stijl git switch nieuwe-stijlbody { background-color: lightblue; }git add . git commit -m "Stijl toegevoegd"git switch main git merge nieuwe-stijlgit branch -d nieuwe-stijl
Oefening 2: Conflicten oplossen bij Merging
Last updated