2012-10-12 13 views
14

में कोड को पूरी तरह से कैसे बदला जाए मेरे पास मेरी स्थानीय मशीन पर एक फेसबुक एप्लिकेशन है और दूसरा हेरोकू के साथ बनाया गया है (हेरोोकू एप्लिकेशन में कोड स्वचालित रूप से हेरोोक द्वारा बनाया गया था)। मैं अपने स्थानीय मशीन पर कोड के साथ हीरोोकू एप्लिकेशन के भीतर कोड को पूरी तरह से बदलना चाहता हूं। मैंने अपनी मशीन पर निर्देशिका में पहले से ही एक गिट भंडार शुरू कर दिया है जहां कोड है और मैंने git remote add origin [email protected]:my-fb-app.git के साथ यूआरएल सेट किया है। हालांकि, जब मैं git push origin master में टाइप मैं:गिट रिपॉजिटरी

To [email protected]:my-fb-app.git 
! [rejected]  master -> master (non-fast-forward) 
error: failed to push some refs to '[email protected]:blooming-cove-5867.git' 
hint: Updates were rejected because the tip of your current branch is behind 
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull') 
hint: before pushing again. 
hint: See the 'Note about fast-forwards' in 'git push --help' for details. 

जाहिर है, यह सही तरीका नहीं है। मै यह कैसे कर सकता हूँ?

उत्तर

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