Akademiacademy / vibe-101 / github

GitHub untuk Vibe 101

Apa ini

Ini checkpoint Vibe 101 untuk simpan code project kamu di GitHub.

Guna GitHub reference kalau perlu explanation yang lebih detail.

Kenapa penting

Vercel deploy dari GitHub. Kalau code terkini belum push, live site tidak akan sama dengan project yang kamu test di localhost.

GitHub juga bagi tutor link yang clean untuk inspect bila kamu perlukan help.

Apa nak buat

Langkah 1 — Buat ini manual dalam browser

Step ini perlukan kamu, bukan AI agent:

  1. Buka github.com.
  2. Log in atau create GitHub account.
  3. Click New repository.
  4. Namakan repository ikut project kamu.
  5. Keep it simple: pilih Public kecuali tutor kata sebaliknya.
  6. Jangan add README, .gitignore, atau license kalau project kamu sudah ada files.
  7. 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 2 — Minta AI guide terminal push

Guna ini dalam IDE selepas repository wujud:

Copy prompt
Help me push my local project 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. package.json exists
3. node_modules is not being committed
4. 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 online

Run command satu demi satu. Baca explanation AI sebelum tekan Enter.

Langkah 3 — Confirm push berjaya

Refresh page repository GitHub.

Kamu patut nampak files seperti:

  • package.json
  • src atau app
  • public
  • config files seperti next.config

Kalau files tak nampak, stop dan fix GitHub sebelum pergi ke Vercel.

Kalau ada masalah

Guna prompt ini:

Copy prompt
My GitHub push is not working.

Command I ran:
[paste command]

Terminal output:
[paste exact error]

What I expected:
My project files should appear in my GitHub repository.

Help me fix this one step at a time.
Do not ask for my password, token, private key, or recovery codes.

Tanya tutor kalau GitHub kata repository tidak wujud, kamu log in account yang salah, atau permissions blocked.

Mistake biasa

  • Guna GitHub account yang salah.
  • Create repository dalam browser tapi lupa push dari terminal.
  • Push ke repository yang salah.
  • Lupa push code terkini sebelum deploy.
  • Upload files manual, bukan belajar push flow.
  • Push node_modules.
  • Paste token atau password ke dalam AI chat.

Vibe 101 / Checkpoint sekarang

GitHub Checkpoint

Sedia untuk stamp - Disimpan dalam browser ini sahaja.

0 daripada 20 checkpoints complete

0 daripada 20 checkpoints complete.