An open API service indexing awesome lists of open source software.

https://github.com/developer-sujon/remove-env-git-history


https://github.com/developer-sujon/remove-env-git-history

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

echo '.env' >> .gitignore
git rm -r --cached .env
git add .gitignore
git commit -m 'untracking .env'
git push origin master

delete all commits
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD
git push --force