dougong7850 2015-01-21 20:27
浏览 56

GitHub没有将额外的Laravel PHP文件添加到存储库

I have a created a Laravel PHP application and now I want to push it to GitHub. In the past I have not had problems pushing my projects.

However, I am having an issue with the current project I'm trying to push since only the default Laravel PHP framework files are being pushed instead of all the files within the project directory. I am pushing this files via the command line.

Commands:

cd Desktop\Code\LaravelProject
git init
git add -A
git commit -m "First Commit" /* After I enter this command, I keep getting a 'nothing to commit' response  */
git remote add origin "My GitHUB remote Repository URL"
git remote -v /* Verifies my remote URL */
git push origin master

After I enter these commands, only the default Laravel PHP files are added to my GitHub repository (e.g. Creating a new Laravel PHP Project that contains the folders 'app', 'bootstrap' & 'public')

I have no idea why none of the additional files I've added to my project are being pushed to GitHub.

Any help is greatly appreciated!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥30 python代码,帮调试
    • ¥15 #MATLAB仿真#车辆换道路径规划
    • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
    • ¥15 数据可视化Python
    • ¥15 要给毕业设计添加扫码登录的功能!!有偿
    • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
    • ¥15 微信公众号自制会员卡没有收款渠道啊
    • ¥100 Jenkins自动化部署—悬赏100元
    • ¥15 关于#python#的问题:求帮写python代码
    • ¥20 MATLAB画图图形出现上下震荡的线条