我正在向github提出我的项目,首先我打开了github并放置了New Repository,然后我输入了"Repository名称“,然后我选择了"Private”,然后创建了Repository,然后我看到了一组指令,然后我在Visual studio中打开了这个项目,然后在Visual中打开了终端,并编写了这些附加给我的说明:
git init
git commit -m "first"
git config --global user.email "Nour77@gmail.com"
git config --global user.name "nour-George"
git remote add origin https://github.com/nour-George/FFFF.git
git push -u origin master但是当我输入最后一条指令时,我得到了这个错误:
error: failed to push some refs to 'https://github.com/safaa-Haddad/Base.git'如何解决问题,以及在应用前面的步骤时是否有错误?
发布于 2020-05-21 08:04:56
您需要在执行文件之前添加文件。
吉特加。
git提交-m“提交消息”
git推送-u原主程序
https://stackoverflow.com/questions/61929905
复制相似问题