Skip to content

Instantly share code, notes, and snippets.

View domicoder's full-sized avatar
⚙️
Building things helpful for people

Yander Sanchez domicoder

⚙️
Building things helpful 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 September 11, 2024 16:43
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