Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Does .gitignore just not work? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
3y ago
โข
7 replies
BossDaily
Does .gitignore just not work?
I added the env file to my
.gitignore and it literally does nothing
, vscode still keeps trying to stage it and it can still be commited
Solution
If it was included in a previous commit
, you must remove it from the index
, this should do the trick
:
git rm --cached <file>
git rm --cached <file>
. More info at
https://stackoverflow.com/questions/1274057/how-do-i-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Module augmentation does not work
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
@sapphire/type does not work with Bun
S-IaF
Sapphire - Imagine a Framework / sapphire-support
16mo ago
why does this not work in sapphire
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Ping command in the Guide does not work
S-IaF
Sapphire - Imagine a Framework / sapphire-support
5mo ago