BM: Baca dalam Bahasa Melayu
World 0: Start Here
Git inside VS Code
You will learn: where Git lives in VS Code, and what each part does.
The problem
This is git status in a terminal. That’s a lot of words. Is there an easier way to see it?
Try it
This is VS Code, a free code editor. Tap each glowing dot.
Tap the glowing dots to explore.
0 of 7 explored
Hint
There are 7 dots. Find the last one at the very bottom.Watch
The buttons run the same Git commands. Clicking + runs git add. Clicking Commit runs git commit.
Predict
You click + next to style.css. Where does it go?
Pick one answer.
Check
In the diff, one line is green. What does green mean?
Pick one answer.
Watch
VS Code has a terminal inside, too. Open the Terminal menu, then New Terminal. Every command from this course works there.
You did it!
You can now find Git’s buttons in VS Code.
Go deeper (optional)
Hover over a file in Changes to see more buttons. The curved arrow throws away your changes, so use it with care. Install VS Code from code.visualstudio.com. It works on Windows, macOS and Linux.
Bahasa Melayu
Ini git status dalam terminal. Banyaknya perkataan! Ada cara lebih senang nak tengok?
Ini VS Code, editor kod yang percuma. Ketik setiap titik yang bercahaya.
Butang-butang ini jalankan arahan Git yang sama. Klik + jalankan git add. Klik Commit jalankan git commit.
Anda klik + di sebelah style.css. Ia pergi ke mana?
Dalam diff (beza baris demi baris), satu baris berwarna hijau. Apa maksud hijau?
VS Code pun ada terminal di dalamnya. Buka menu Terminal, kemudian New Terminal. Semua arahan dalam kursus ini boleh jalan di situ.
Kini anda boleh cari butang-butang Git dalam VS Code.
You finished this before. Practice is always welcome!
Official docs: Source Control in VS Code · git status · git add
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?