fatal: No submodule mapping foundfatal: No submodule mapping found
Git submodules संदर्भित हैं लेकिन उन्हें ठीक से आरंभ नहीं किया गया।
इस एरर के कारण
रिपॉजिटरी सबमॉड्यूल इस्तेमाल करती है, लेकिन क्लोन के बाद उन्हें शुरू नहीं किया गया। .gitmodules फ़ाइल ऐसे सबमॉड्यूल का हवाला देती है जो लोकल रूप से सेट नहीं हुए हैं।
इसे कैसे ठीक करें
सबमॉड्यूल शुरू और अपडेट करें: git submodule init && git submodule update। नया क्लोन करते समय: git clone --recurse-submodules url। सभी सबमॉड्यूल अपडेट करने के लिए: git submodule update --init --recursive।
उदाहरण
git submodule init && git submodule updateसंबंधित एरर कोड
error: failed to push some refserror: failed to push some refs
Push इसलिए reject हो गया क्योंकि remote पर ऐसे changes हैं जो आपके पास locally नहीं हैं।
fatal: ambiguous argumentfatal: ambiguous argument
Git यह निर्धारित नहीं कर सका कि argument किसी revision, path, या कुछ और को संदर्भित करता है।
nothing to commit, working tree cleannothing to commit, working tree clean
कमिट करने लायक कोई बदलाव नहीं है; वर्किंग डायरेक्टरी आख़िरी कमिट के बराबर है।
fatal: A branch named 'x' already existsfatal: A branch already exists
निर्दिष्ट नाम की ब्रांच रिपॉजिटरी में पहले से मौजूद है।
CONFLICT (content): Merge conflictमर्ज कॉन्फ्लिक्ट
Git दोनों ब्रांच में एक ही लाइनें बदली होने के कारण स्वचालित रूप से merge नहीं कर सका।
remote: error: File is too largeremote: error: File is too large
एक फ़ाइल remote hosting service द्वारा अनुमत अधिकतम आकार से अधिक है।