Agence de Développement Informatique du Nord

Just another WordPress site

Main menu

Skip to primary content
Skip to secondary content
  • Home

Category Archives: Git

error: src refspec master does not match any.

Posted on November 29, 2013 by blogadmin
Reply

You are setting up a new git repository and when you try to push you get this error :

error: src refspec master does not match any.
error: failed to push some refs to 'ssh://your_host/project.git'

This just mean you forgot to do the initial commit, try

git add .
git commit -m 'initial commit'
git push origin master

That should works.

Posted in Git | Tagged git | Leave a reply

Recent Posts

  • Magento change title, meta description & keywords
  • Magento – where is calculated available payment method ?
  • Magento – All payment methods
  • Magento – get client’s IP
  • Magento – test abandoned cart email

Archives

  • December 2019
  • December 2018
  • August 2018
  • July 2018
  • May 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • January 2017
  • December 2016
  • October 2016
  • July 2016
  • February 2016
  • January 2016
  • October 2015
  • September 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • August 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012

Categories

  • Apache
  • casperjs
  • Doctrine
  • FPDF
  • Git
  • Hacks
  • HTML
  • Javascript
  • Linux
  • Magento
  • MySQL
  • Pear
  • PHP
  • Prestashop
  • Propel
  • Smarty
  • Sonata
  • SSH
  • Symfony
  • Talend
  • Twig
  • Uncategorized

Tags

.htaccess adminhtml apache apache2 array attribute attribute_set block cacti ckWebServicePlugin configurable product Cookies core_config_data debian doctrine2 dropdown fpdf Frame git grid IE Login magento module MySQL order Override payment method PHP phpMyAdmin Prestashop print_r Propel rrdtool smarty Sonata sort ssh status Symfony Symfony2 template twig unzip validator

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Comments

  • plugin ckWebServicePlugin paramétres vide sujet | usa5 on ckWebServicePlugin empty params
Proudly powered by WordPress