2013-11-28 6 views
11

काम नहीं कर जब मैं टाइप करें, $git push heroku master, मैं मिलता है:"Git धक्का Heroku मास्टर"

! No such app as sleepy-headland-6232. 

fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 

इसलिए जब मैं करना $git remote -v, मैं मिलता है:

heroku [email protected]:sleepy-headland-6232.git (fetch) 
heroku [email protected]:sleepy-headland-6232.git (push) 
origin [email protected]:fackthisshit/github.git (fetch) 
origin [email protected]:fackthisshit/github.git (push) 

इसलिए मुझे क्या git remote add heroku [email protected]:sleepy-headland-6232.git

और उसके बाद मैं प्राप्त fatal: remote heroku already exists.

यह जी की एक अनंत लूप की तरह है irder। मैं इस छेद छेद से कैसे निकल सकता हूं? (मेरी भाषा को ध्यान दें)

+0

heroku.com पर जांचें यदि वह ऐप आपके खाते में मौजूद है, यदि नहीं, तो मालिक से आपको सहयोगी के रूप में जोड़ने के लिए कहें। –

+0

ओह .. क्या यह समस्या है? – user3027052

+0

मैं यह कैसे कर सकता हूं? मालिक एक महीने की रेल से मैटन ग्रिफेल है। – user3027052

उत्तर

0

हेरोकू ऐप मौजूद नहीं है।

Heroku | No such app 
There is no app configured at that hostname. 
Perhaps the app owner has renamed it, or you mistyped the URL. 

, एक नया Heroku एप्लिकेशन बनाने के लिए आप ओ इस तरह उनके कमांड लाइन उपकरण के साथ अपनी वेबसाइट के माध्यम से यह भी कर सकते हैं:: अपनी कोशिश आपके ब्राउज़र में पेज http://sleepy-headland-6232.herokuapp.com लोड करने के लिए हैं, तो आप यह संदेश प्राप्त होगा $ heroku apps:create name_of_your_app

27

आप एक नई एप्लिकेशन को बनाने के लिए, कभी कभी जब आप Heroku में एप्लिकेशन को आप दूरदराज के कनेक्शन खो नाम बदलने की जरूरत नहीं है।

यह

बस के साथ पुराने Heroku दूरस्थ हटाने ठीक करने के लिए:

 

    git remote rm heroku 

और जोड़ने नया:

 

    git remote add heroku [email protected]:name-to-the-new-one 

आप लिंक का पता नहीं जानते हैं, तो आप ऐप की सेटिंग्स में, उसे हुकोकू डैशबोर्ड में प्राप्त कर सकते हैं। और बस।

+2

धन्यवाद! इसने मेरे लिए यह मुद्दा तय किया जहां मैंने गलती से एक ही गिट रेपो के लिए कई हेरोकू ऐप्स बनाए। आप अंत में .git जोड़ना चाहते हैं: गिट रिमोट heroku [email protected] जोड़ें: name-to-the-new-one.git –

संबंधित मुद्दे