使用git命令将文件夹从本地推送到git时出错 [英] getting error while pushing folder from local to git using git command
本文介绍了使用git命令将文件夹从本地推送到git时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
error: src refspec git@gitlab.com does not match any.
error: failed to push some refs to 'origin'
我正在尝试将我的项目推送到gitlab,但是即时通讯一次又一次地遇到相同的错误,我已经尝试了n次,并且看到了很多答案,但是没有一个有效的方法,请有人能帮助我?
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 ?
提前感谢
推荐答案
您正在使用输入的名称,而不是数据库中的列名称.
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'];
应该是:
$fname = $row['FirstName'];
$lname = $row['LastName'];
$email = $row['Email'];
$contactnumber = $row['Contactnumber'];
$age = $row['Age'];
您也不应该使用PHP开头的短代码
You also shouldn't use PHP opening shortcodes
<?= $fname ?>
应该是:
<?php echo $fname ?>
这篇关于使用git命令将文件夹从本地推送到git时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文