Skip to content

Instantly share code, notes, and snippets.

View domicoder's full-sized avatar
🖋️
Building useful tools and products for people

Yander Sanchez domicoder

🖋️
Building useful tools and products for people
View GitHub Profile
@domicoder
domicoder / remove env file from git
Created August 23, 2021 22:59 — forked from gjerokrsteski/remove env file from git forever
remove env file from git history
echo '.env' >> .gitignore
git rm -r --cached .env
git add .gitignore
git commit -m 'untracking .env'
git push origin master
@gjerokrsteski
gjerokrsteski / remove env file from git forever
Last active March 16, 2025 11:12
remove env file from git history forever
echo '.env' >> .gitignore
git rm -r --cached .env
git add .gitignore
git commit -m 'untracking .env'
git push origin master