Buat branch sendiri dan tambah fail biodata dengan maklumat peribadi.
Naming convention: add-[nama-anda]
# Example jika nama anda "Ahmad"
git checkout -b add-ahmadGantikan ahmad dengan nama anda (lowercase, no spaces)!
Verify branch:
git branchExpected output:
* add-ahmad
main
Tanda * menunjukkan branch aktif sekarang.
- Navigate to peserta folder:
cd peserta- Create file dengan nama anda:
# Guna text editor atau command line
# Example: nano, vim, notepad, atau VSCode
# Cara 1: Guna echo (untuk simple)
touch nama-anda.md
# Cara 2: Buka dengan editor
code nama-anda.md # VSCode
nano nama-anda.md # Nano
vim nama-anda.md # Vim
notepad nama-anda.md # Windows NotepadGantikan nama-anda dengan nama anda (lowercase, hyphen for spaces)!
Contoh:
- Ahmad Bin Ali →
ahmad-ali.md - Siti Nurhaliza →
siti-nurhaliza.md - John Doe →
john-doe.md
Copy template ni dan edit dengan maklumat anda:
# Biodata Peserta
## Maklumat Peribadi
- **Nama Penuh:** [Nama anda]
## Pekerjaan
- **Jawatan Semasa:** [Job title anda]
## Hobi
- 🎯 [Hobi 1]
## Fun Fact
> [Satu perkara menarik tentang anda]
## Hubungi Saya
- 📧 Email: [email anda - optional]
- 🔗 LinkedIn: [LinkedIn profile - optional]
- 🐙 GitHub: [GitHub username]# Biodata Peserta
## Maklumat Peribadi
- **Nama Penuh:** Ahmad Bin Abdullah
## Pekerjaan
- **Jawatan Semasa:** System Administrator
## Hobi
- 🎨 Gaming (strategy games)
## Fun Fact
> Saya pernah accidentally delete production database, tapi nasib baik ada backup! 😅 Dari itu saya jadi paranoid dengan backups.
## Hubungi Saya
- 📧 Email: ahmad.abdullah@email.com
- 🔗 LinkedIn: linkedin.com/in/ahmad-abdullah
- 🐙 GitHub: ahmadcodes-
Save file
-
Verify file created:
# Check file exists
ls
# Preview content
cat nama-anda.md- Return to root directory:
cd ..
# Sekarang anda dalam bootcamp-devops/ root# Check status
git statusExpected output:
On branch add-ahmad
Untracked files:
(use "git add <file>..." to include in what will be committed)
peserta/ahmad.md
nothing added to commit but untracked files present
Stage file:
git add peserta/nama-anda.md
# Atau stage semua
git add .Verify staged:
git statusExpected output:
On branch add-ahmad
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: peserta/ahmad.md
Commit dengan mesej yang clear:
git commit -m "docs: add biodata for [Nama Anda]"Example:
git commit -m "docs: add biodata for Ahmad Abdullah"Expected output:
[add-ahmad 1a2b3c4] docs: add biodata for Ahmad Abdullah
1 file changed, 45 insertions(+)
create mode 100644 peserta/ahmad.md
# Check commit history
git log --oneline
# Check specific commit
git show HEAD- Created branch
add-[nama] - Created file
peserta/[nama].md - Filled biodata dengan maklumat lengkap
- File staged with
git add - Changes committed dengan clear message
- Verified commit dengan
git log