getting error while pushing folder from local to git using git command

穿精又带淫゛_ 提交于 2019-12-13 08:45:14

问题


          error: src refspec git@gitlab.com does not match any.
          error: failed to push some refs to 'origin'

i'm trying to push my project to gitlab but im getting again and again the same error i have tried n number of times and i have seen many answer but none worked me please can any one help me in getting out of this ?

thanks in advance


回答1:


You are using the names of the inputs instead of the column names from your database.

$fname = $row['fname'];
$lname = $row['lname'];
$email = $row['email'];
$contactnumber = $row['number'];
$age = $row['age'];

should be:

$fname = $row['FirstName'];
$lname = $row['LastName'];
$email = $row['Email'];
$contactnumber = $row['Contactnumber'];
$age = $row['Age'];

You also shouldn't use PHP opening shortcodes

<?= $fname ?>

should be:

<?php echo $fname ?>


来源:https://stackoverflow.com/questions/54491879/getting-error-while-pushing-folder-from-local-to-git-using-git-command

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!