Skip to content

Instantly share code, notes, and snippets.

View Daniel-Vinicius's full-sized avatar
👨‍💻
Codando

Daniel Vinícius Daniel-Vinicius

👨‍💻
Codando
View GitHub Profile
@gjerokrsteski
gjerokrsteski / remove env file from git forever
Last active October 28, 2024 10:37
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