version control from the creator of Linux
A presentation by Razzi Abuissa
https://git-scm.com
= type along
⌨
GitHub
email
Life without version control
👨🏻💻 🧕🏼
index.html index.html
index-v2.html index-v2.html
uh oh!
git
diff
git
patch
قبل أن يكون هناك
git
كان هناك
patch
How does git work?
We initialize a repository,
and we make commits.
mkdir website cd website git init git commit
⌨
git status
⌨
git commit -m 'Initial commit'
⌨
git config --global user.email "razzi@abuissa.net"
⌨
version control
هو نظام التحكم في الإصدارات الموزعة git
Commercial git hosts: "forges"
- github
- gitlab
- sourcehut
developer A
developer B
web hosting platform
developer A
developer B
web hosting platform
Doing the same thing from VSCode
Need to add SSH key to GitHub
so that GitHub knows it's me :)
Tip: clone with depth=1 for speed
git clone --depth=1 https://github.com/razzius/repo
Fetch history later:
git fetch --unshallow
If that still doesn't work, download a .tar and make an old-fashioned patch
-Razzi
http://abuissa.net
razzi@abuissa.net