Removing a .env file from Git

PHOTO EMBED

Thu Dec 16 2021 03:13:39 GMT+0000 (Coordinated Universal Time)

Saved by @juancalle

git rm -r --cached .env
content_copyCOPY

https://h.daily-dev-tips.com/removing-a-env-file-from-git-history