الثلاثاء، 24 ديسمبر 2013

Error when pushing to github? [on hold]

I am trying to push to a project onto github using git push -u origin master but am getting the following error:

error: src refspec master does not match any.error: failed to push some refs to 'https://github.com/mantismamita/kirstens-git.git'

This is my first attempt at actually pushing anything and a day ago I misspelled my github password when prompted. I've tried closing and reopening terminal, waiting a day, and even password caching but haven't had any luck. Any help explaining this error would be greatly appreciated.

Second commit:

! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'https://github.com/mantismamita/kirstens-git.git'hint: Updates were rejected because the tip of your current branch is behindhint: 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.

UPDATE: SOLVED (see comments)


View the original article here

ليست هناك تعليقات:

إرسال تعليق