मुझे लगता है कि समस्या यह है कि आपका काम करने वाला पेड़ जैसा है:
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 फ़ाइलों को अभी तक भंडार में जोड़ दिया गया नहीं किया है। (Git देखता है कि कैश निर्देशिकाओं में बिना बही हुई फाइलें हैं, लेकिन यह केवल निर्देशिकाओं को रिपोर्ट करता है।) इसे ठीक करने के लिए, सुनिश्चित करें कि आपने 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। मैं इस परीक्षा के मामले में आलसी था।)