Skip to content

.git directory installed in 3.3.333 #30122

@XCMP

Description

@XCMP

TypeScript Version: 3.3.333

Search Terms:
3.3.333 Not a git repository

Code

git init
npm install typescript
git add package-lock.json
git commit -m "init"
git clean -xdf

Expected behavior:
clean node_module folder

Actual behavior:
fatal: Not a git repository: /home/daniel/shared/TypeScript/.git/worktrees/TypeScript3
The .git file should not be included in release package.

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions