简体   繁体   English

npx create-react-app./ 没有创建 .git 文件

[英]npx create-react-app ./ isn't creating a .git file

Whenever I try to create a new react app it unfortunately doesn't create a.git file as it should in the image provided每当我尝试创建一个新的反应应用程序时,不幸的是它不会像提供的图像中那样创建一个 .git 文件

https://i.stack.imgur.com/SWkhX.png https://i.stack.imgur.com/SWkhX.png

Visual Studio Code hides the .git folder by default. Visual Studio Code 默认隐藏.git文件夹。 To show it:要显示它:

  1. Go to settings and search 'files exclude'. Go 设置并搜索“文件排除”。
  2. In the Files: Exclude settings remove **/.gitFiles: Exclude设置删除**/.git 排除 Git

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM