dongsong4418 2017-05-01 23:13
浏览 37
已采纳

在新的GIT分支中安装Laravel会将master文件夹留在master中

I am starting a fresh build of an existing non-Laravel project so I've created an orphan branch off my master, removed existing files and installed Laravel.

The problem is that when I switch back to my master branch, the vendor and storage directories (and files) persist in my local master branch, and are showing up as ready to be staged and committed.

I was under the assumption that any files, folders, etc that are created in the new branch, would not exists when switching branches.

enter image description here

  • 写回答

1条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 postman测试正常,在代码运行报错
      • ¥15 关于#C语言#的问题,如何解决?
      • ¥20 Vs2017 Help Viewer2.3 问题
      • ¥35 基于嵌入式linux的日程管理软件
      • ¥50 如何将list字符串添加到CSV文件表头?
      • ¥15 关于#javascript#的问题:通过ajax实现的局部刷新 如何将项目打包
      • ¥15 海思uboot USB3.0无法识别
      • ¥15 无法调用库文件,自己可以找到,但编译时显示没有
      • ¥15 安装PyQt5的时候这里创建虚拟环境是哪里?具体是怎么的?能录个视频吗
      • ¥20 php程序设计题不会!求解答!