Skip to content

Instantly share code, notes, and snippets.

View gayan99x's full-sized avatar

Gayan Karunarathne gayan99x

View GitHub Profile
@gjerokrsteski
gjerokrsteski / remove env file from git forever
Last active January 5, 2025 11:01
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