BM: Baca dalam Bahasa Melayu
World 0: Start Here
Getting help
You will learn: three quick ways to get help when you forget a command.
The problem
You forgot how a command works. It happens to everyone, even experts. Where do you look?
Watch
Add -h to a command for a short help. git commit -h lists the options for commit, right here in the terminal.
Watch
git help commit opens the full manual for commit. It explains every option. On a Mac or Linux, press q to close it.
Predict
You only forgot the option for a commit message. Which help is fastest?
Pick one answer.
Predict
You want to learn everything git log can do. Which help fits best?
Pick one answer.
Try it
Ask Git for help with add. Pick either way.
Hint
Trygit add -h. Or git help add.Check
The FahamLah cheat sheet lists every command from this course. Find it in the top bar. You forgot how to see your history. Where do you look first?
Pick one answer.
You did it!
You can now get help for any Git command in seconds.
Go deeper (optional)
The full manual also lives online at git-scm.com/docs. git help -a lists every Git command. git help git explains Git itself. On Windows, git help opens the manual in your web browser.
Bahasa Melayu
Anda lupa cara guna satu arahan. Semua orang pernah lupa, pakar pun sama. Di mana nak cari?
Tambah -h pada arahan untuk dapat bantuan ringkas. git commit -h senaraikan pilihan untuk commit (titik simpan), terus dalam terminal.
git help commit buka manual penuh untuk commit. Ia terangkan setiap pilihan. Di Mac atau Linux, tekan q untuk tutup.
Anda cuma lupa pilihan untuk mesej commit. Bantuan mana yang paling cepat?
Anda nak belajar semua benda yang git log boleh buat. Bantuan mana paling sesuai?
Minta bantuan Git untuk add. Pilih mana-mana cara.
git add -h. Atau git help add.Helaian rujukan (cheat sheet) FahamLah senaraikan semua arahan dalam kursus ini. Cari di bar atas. Anda lupa cara tengok sejarah. Di mana anda cari dulu?
Kini anda boleh dapat bantuan untuk mana-mana arahan Git dalam beberapa saat.
You finished this before. Practice is always welcome!
Official docs: git help · All Git docs
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?