Thuta Learning
ရှာဖွေရန်
AdvancedDevOps & Toolsbeginner

.gitignore

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

.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 မည်မဟုတ်ပါ)
.gitignore | Thuta Learning