এই ভিডিওতে আমরা দেখেছি কিভাবে .gitignore ফাইল ব্যবহার করে নির্দিষ্ট ফাইল ও ফোল্ডার ignore করা যায়।
PATTERNS & RULES
*wildcard (any chars)**recursive directories?single character/pathroot-only match!filenegate (force include)- Order matters: last rule wins
Ignoring files AFTER they’re already tracked
git rm --cached <file> # or use folder
BEST PRACTICES
- Add .gitignore at repo start
- Be explicit, not lazy (
*is dangerous) - Keep project-specific rules in repo
- Review before every first commit