पर "गिट पुश" है, तो मेरे पास 2 शाखाओं: master
और test
के साथ github.com पर एक सार्वजनिक भंडार है।त्रुटि जब गिटब
मैं स्थानीय स्तर पर एक नया निर्देशिका बनाया है और आपने क्या किया:
[ ] git clone [email protected]:{username}/{projectname}.git
तब मैं
[ ] git branch my_test
साथ my_test
नाम की एक नई शाखा बनाया है और वह करने लगे।
[ ] git checkout my_test
तब मैं
[ ] git merge origin/test
के साथ अपने सार्वजनिक भंडार के अपने test
शाखा से यह विलय कर दिया है और यह एक में तेजी से आगे हो गया।
मैंने कुछ बदलाव किए और उन्हें प्रतिबद्ध किया। तब मैं
[ ] git push [email protected]:{username}/{projectname}.git test
साथ GitHub पर सार्वजनिक test
शाखा में स्थानीय my_test
शाखा धक्का करने की कोशिश की, लेकिन मैं यह त्रुटि आई:
error: src refspec test does not match any.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '[email protected]:{username}/{projectname}.git
क्या मैं गलत कर रहा हूँ?
संभावित डिपलिकेट [src refspec मास्टर गिट में काम करने के दौरान किसी से मेल नहीं खाता] (http://stackoverflow.com/questions/4181861/src-refspec-master-does-not -मैच-किसी भी-जब-पुशिंग-कमिट-इन-गिट) –
[संभावित भंडार पर पुश मूल मास्टर त्रुटि] का संभावित डुप्लिकेट (http://stackoverflow.com/q/827351/456814)। –