BM: Baca dalam Bahasa Melayu
World 10: Deep Git
Git 3.0 preview
You will learn: what Git 3.0 plans to change, what stays the same, and how to get ready.
The problem
Git 3.0 is on its way. Will the Git you learned stop working?
Pick one answer.
Watch
Git 3.0 has no release date yet. But its plan is written down. Tap through the story.
Tap each point on the timeline.
Try it
What happens to each one in Git 3.0?
Drag a card into a box. Or tap the card, then tap the box.
Watch
Today’s ids are SHA-1: 40 characters. SHA-256: A stronger recipe for ids, 64 characters long. Git 3.0 plans it for new repos. ids are 64 characters long. They are much harder to fake.
Predict
Git 3.0 arrives. Your old repo uses SHA-1 ids. What happens to it?
Pick one answer.
Check
Ready for Git 3.0? Swipe each habit.
Swipe right for good, left for needs work. Or use the buttons.
Name your first branch main
You did it!
You can now explain Git 3.0’s changes and get ready for them.
Go deeper (optional)
Try the future today: git init --object-format=sha256 or git init --ref-format=reftable. Check that your hosting site supports them first. safe.bareRepository becomes explicit: Git won’t use a bare repository: A repo with only the .git part and no working folder, like the copy on a server. it just stumbles into. Building Git yourself will need Rust. Source: git-scm.com/docs/BreakingChanges.
Bahasa Melayu
Git 3.0 sedang dalam perjalanan. Adakah Git yang anda belajar akan berhenti berfungsi?
Git 3.0 belum ada tarikh keluaran. Tapi pelannya dah ditulis. Ketik setiap babak cerita.
Apa jadi pada setiap satu dalam Git 3.0?
Id hari ini ialah SHA-1: 40 aksara. Id SHA-256 pula 64 aksara panjang. Ia jauh lebih susah dipalsukan.
Git 3.0 tiba. Repo lama anda guna id SHA-1. Apa jadi kepadanya?
Dah sedia untuk Git 3.0? Leret setiap tabiat.
Kini anda boleh terangkan apa yang Git 3.0 ubah, dan bersedia untuknya.
You finished this before. Practice is always welcome!
Official docs: Upcoming breaking changes (Git 3.0) · git init (--object-format, --ref-format) · Hash function transition · git whatchanged
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?