GitHub untuk Vibe 102
Apa ini
Ini checkpoint Vibe 102 untuk simpan code mini app di GitHub.
Guna GitHub reference kalau perlu explanation yang lebih detail.
Kenapa penting
Vercel deploy dari GitHub. Kalau code terkini belum push, live app tidak akan sama dengan app yang kamu test di localhost.
GitHub juga simpan project-brief.md bersama code, jadi tutor boleh lihat app itu sepatutnya buat apa.
Apa nak buat
Langkah 1 - Check project dulu
Sebelum buka GitHub, confirm:
Reference
project-brief.md exists in the project root.
package.json exists.
localhost worked.
The app can add, update, delete, and save with localStorage.
node_modules is not something I should push.Langkah 2 - Buat ini manual dalam browser
Step ini perlukan kamu, bukan AI agent:
- Buka github.com.
- Log in atau create GitHub account.
- Click New repository.
- Namakan repository ikut mini app kamu.
- Pilih Public kecuali tutor kata sebaliknya.
- Jangan add README,
.gitignore, atau license kalau project kamu sudah ada files. - Click Create repository.
Biarkan page GitHub itu terbuka. Kamu perlukan repository URL.
Jangan paste password GitHub, recovery codes, atau tokens ke dalam AI chat.
Langkah 3 - Minta AI guide terminal push
Guna ini dalam IDE selepas repository wujud:
Help me push my Vibe 102 mini app to GitHub step by step.
Important:
- Do not ask for my password, token, or private key.
- Use the integrated terminal in my IDE.
- Check the current folder first.
- Explain each command before I run it.
My GitHub repository URL is:
[paste repository URL]
Before pushing, check:
1. I am in the correct project folder
2. project-brief.md exists
3. package.json exists
4. node_modules is not being committed
5. git status is safe to review
Then guide me through:
1. git init if needed
2. git add
3. git commit
4. adding the remote repository
5. pushing to GitHub
6. checking the files onlineRun command satu demi satu. Baca explanation AI sebelum tekan Enter.
Langkah 4 - Confirm push berjaya
Refresh page repository GitHub.
Kamu patut nampak files seperti:
project-brief.mdpackage.jsonsrcpublic- Vite config files
Kalau files tak nampak, stop dan fix GitHub sebelum pergi ke Vercel.
Mistake biasa
- Guna GitHub account yang salah.
- Lupa push
project-brief.md. - Push ke repository yang salah.
- Lupa push code terkini sebelum deploy.
- Push
node_modules. - Paste token atau password ke dalam AI chat.
Vibe 102 / Checkpoint sekarang
GitHub Checkpoint
Sedia untuk stamp - Disimpan dalam browser ini sahaja.
0 daripada 16 checkpoints complete.