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 July 11, 2024 08:40
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