15 Kasım 2010, PAZARTESİ
src refspec usta gıt tamamlar zorlandığında herhangi eşleşmiyor
Benim depo ile klonladım:
git clone ssh://xxxxx/xx.git
ama bazı dosyalar ve add commit onları değiştirdim sonra onları sunucuya itmek istiyorum
git add xxx.php
git commit -m "TEST"
git push origin master
Ama geri alıyorum hata:
error: src refspec master does not match any.
error: failed to push some refs to 'ssh://xxxxx.com/project.git'
CEVAP
27 EYLÜL 2011, Salı
Belki de kararlı olmalıdır. Ben ne zaman bu rastladım:
mkdir repo && cd repo
git remote add origin /path/to/origin.git
git add .
Oops! Hiç kararlı!
git push -u origin master
error: src refspec master does not match any.
Tek yapmam gereken ÅŸuydu:
git commit -m 'initial commit'
git push origin master
Başarı!
Bunu PaylaÅŸ:

İndentationError: unindent herhangi bi...
Hareket şube kullanarak git üzerine us...
Herhangi bir DOM öğesi için bağlı olay...
Nasıl boost::varyant ve boost::herhang...
Herhangi bir bağlantı dizesi C ayrıştı...