मैं अपने मैकवीम स्थापना के लिए एक गिट भंडार बना रहा हूं। मेरे भंडार में कुछ प्लगइन्स के पास अपने स्वयं के .git फ़ोल्डर्स और रेपो हैं। समस्या यह है कि ... जब मैं इन फ़ोल्डर्स में से किसी एक को अपने मुख्य भंडार में जोड़ने का प्रयास करता हूं, तो यह कुछ भी नहीं करता है।गिट मौजूदा गिट रिपोजिटरी के साथ फ़ोल्डर जोड़ें
मेरा अनुमान है:
मैं क्योंकि यह अपने आप पर एक Git रेपो है फ़ोल्डर नहीं जोड़ सकते। मुझे एक सबमिशन के रूप में जोड़ना होगा या .git फ़ोल्डर को हटा देना होगा।
मैं अपने सब रिपोज़ को एक सबमिशन के रूप में कैसे जोड़ूं?
bryan-mini:.vim bsaltzman$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: bundle/YouCompleteMe (modified content)
# modified: bundle/nerdtree (modified content)
# modified: bundle/ultisnips (modified content)
#
no changes added to commit (use "git add" and/or "git commit -a")
// This
bryan-mini:.vim bsaltzman$ git add bundle/YouCompleteMe/
// OR THIS
bryan-mini:.vim bsaltzman$ git submodule add bundle/YouCompleteMe/
repo URL: 'bundle/YouCompleteMe/' must be absolute or begin with ./|../
bryan-mini:.vim bsaltzman$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: bundle/YouCompleteMe (modified content)
# modified: bundle/nerdtree (modified content)
# modified: bundle/ultisnips (modified content)
#
no changes added to commit (use "git add" and/or "git commit -a")