Git Essentials
icon: ---icon: material/format-title
Git configuration¶
git config --global user.name "your name"
git config --global user.email "[email protected]"
Initialize or clone a repository¶
Check status and add changes¶
Commit changes¶
Branch management¶
git branch
git branch <new-branch>
git checkout -b <new-branch>
git switch <branch-name>
git merge <branch>
git branch -d <branch>