Short introduction (~20 min)
Short Github demo (~10 min)
Hands-on: Setup and play with first GitHub account (~30 min)
Coffee/tea (~10 min)
Short demo using Git (~10 min)
Hands-on: Solo repo (~20 min)
Hands-on: Collab repo (∞)
for code snippets:
console.log("I love markdown")
Explore more at Markdown Live Preview.
start a working area: git init | git clone
mess around: git add | git mv | git rm
examine history and state: git status | git log | git diff
make and modify history: git commit | git branch | git merge
collaborate: git fetch | git pull | git push
Almost synonim across github and gitlab.
A PR is a proposal to merge a set of changes from one branch into another, reviewed by team members
Dowload Git https://git-scm.com/download
What is a pull request: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
For VSC lovers: https://code.visualstudio.com/docs/sourcecontrol/overview
Create GitHub account
Populate a new repo with files/folders
Create new branch, commit some changes, inspect history
Pull requests and merge without conflicts
like before but with conflicts resolution
Extra: fork your deskmate's...repo!
Install Git
Create and initialize a local repo
Add and commit stuff
Tweak common history (3 methods above)
Extra: try merge changes from new-branch into main (git merge new-branch)