Skip to content

Add root .gitignore and untrack node_modules - #2

Merged
UnoxyRich merged 2 commits into
mainfrom
copilot/add-gitignore-and-remove-node-modules
Mar 25, 2026
Merged

Add root .gitignore and untrack node_modules#2
UnoxyRich merged 2 commits into
mainfrom
copilot/add-gitignore-and-remove-node-modules

Conversation

Copilot AI commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

node_modules (7,417 files) was committed to the repo with no root-level .gitignore, bloating the repository.

Changes

  • Added /.gitignore — covers node_modules/, .env (MongoDB URI + JWT secret were exposed), build artifacts, and common noise files
  • Removed node_modules from git tracking via git rm -r --cached node_modules — files remain on disk, only untracked from git history going forward

The client/.gitignore was already present and is unchanged.

Original prompt

Add git ignore and del node modules


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Copilot AI changed the title [WIP] Add .gitignore file and delete node_modules folder Add root .gitignore and untrack node_modules Mar 25, 2026
Copilot AI requested a review from UnoxyRich March 25, 2026 15:08
@UnoxyRich
UnoxyRich marked this pull request as ready for review March 25, 2026 15:08
@UnoxyRich
UnoxyRich merged commit baaeda6 into main Mar 25, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants