Thuta Learning
Git
AdvancedDevOps & Toolsအခြေခံ

.gitignore

Gitသင်ခန်းစာ 18

.gitignore file သည် Git က ခြေရာခံခြင်း (tracking) မပြုလုပ်သင့်သော files သို့မဟုတ် folders များကို သတ်မှတ်ပေးသော text file ဖြစ်သည်။ ဥပမာ၊ log files, build outputs, နှင့် sensitive information များ။

bash
# Create a file named .gitignore
# Log files
*.log

# Node.js dependencies folder
node_modules/

# macOS system file
.DS_Store
You should see
(ဤ file ထဲတွင် သတ်မှတ်ထားသော files/folders များကို git add . command ဖြင့် stage မည်မဟုတ်ပါ)

နောက်ဆုံးပြင်ဆင်ရက်

Progress ကို ဤ browser (ဤစက်) တွင်သာ သိမ်းထားပါသည်။ အခြားစက်များနှင့် sync မလုပ်ပါ။

ဤသင်ခန်းစာတွင် အမှားတွေ့ပါက အကြောင်းကြားရန်သင့် email app ကို ဤသင်ခန်းစာလိပ်စာ ဖြည့်ပြီးသားဖြင့် ဖွင့်ပေးပါမည် — သင်ကိုယ်တိုင် ပို့မှသာ ပို့မည်ဖြစ်သည်။

.gitignore | Thuta Learning