Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_gitignore should be .gitignore #2412

Closed
1 task
Rolanddoda opened this issue Jan 7, 2022 · 4 comments
Closed
1 task

_gitignore should be .gitignore #2412

Rolanddoda opened this issue Jan 7, 2022 · 4 comments

Comments

@Rolanddoda
Copy link

Describe the bug

I created a new Vite Vue 3 project. Without changing anything, I downloaded the project, unzipped it, and opened it in my IDE.

I ran git init and then I saw that folders and files are not gitignored.
And that was because the file name has an underscore instead of a dot.

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-laxgwz?file=index.html&terminal=dev

Steps to reproduce

  1. Create a new project
  2. See the gitignore file being _gitignore instead of .gitignore

Expected behavior

gitignore file name should be .gitignore.

Parity with Local

  • I have run the project in my local machine and I could not reproduce the issue.

Screenshots

No response

Platform

Browser name  = Chrome 
Full version  = 96.0.4664.110
Major version = 96
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 OPR/82.0.4227.43
performance.memory = {
  "totalJSHeapSize": 194611804,
  "usedJSHeapSize": 170876576,
  "jsHeapSizeLimit": 4294705152
}
Hash = 4bc445b0bf2f24de41719bcf76515e3a7b66a071

Additional context

No response

@jrvidal
Copy link

jrvidal commented Jan 7, 2022

@Rolanddoda Thanks for the report:

  1. Create a new project

When you observe this issue, how exactly do you create the project?

@Rolanddoda
Copy link
Author

@jrvidal sorry for not providing a clear description on how to create a new project.

What I did, was simply clicking to Vite -> vue

@jrvidal
Copy link

jrvidal commented Jan 11, 2022

This is a bug indeed, thanks for the report.

@kc0tlh
Copy link
Collaborator

kc0tlh commented Aug 23, 2023

This issue is now resolved in our new VS Code editor! Additional details around our new git functionality in Github issue #2473.

@kc0tlh kc0tlh closed this as completed Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants