আমি ধরে নিয়েছি সমস্যাটি হ'ল আপনার কার্যকারী গাছটি হ'ল:
a-cache/foo
a-cache/index.html
b-cache/bar
b-cache/foo
b-cache/index.html
.gitignore
... .gitignoreআপনি বর্ণনা দিয়ে। এটি আপনাকে এইভাবে git statusআউটপুট দেবে :
$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
# a-cache/
# b-cache/
... যদিindex.html ফাইলগুলি এখনো সংগ্রহস্থলের যোগ করা হয়নি। (গিট দেখতে পাচ্ছে যে ক্যাশে ডিরেক্টরিগুলিতে অযৌক্তিকৃত ফাইল রয়েছে তবে এটি কেবল ডিরেক্টরিগুলি রিপোর্ট করে)) এটি ঠিক করতে, আপনি index.htmlফাইলগুলি যুক্ত এবং প্রতিশ্রুতিবদ্ধ করেছেন তা নিশ্চিত করুন :
git add *cache/index.html
git commit -m "Adding index.html files to the cache directories"
... এবং আপনার git statusইচ্ছার পরে দেখতে হবে:
$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
nothing added to commit but untracked files present (use "git add" to track)
(স্পষ্টতই আপনিও প্রতিশ্রুতিবদ্ধ হতে চান .gitignore। আমি এই পরীক্ষার কেসে কেবল অলস ছিলাম।)