Skip to main content

One post tagged with "Git"

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

View All Tags

How to remove a file from Git commit history

· 2 min read
Adrian Escutia
A Rebel with a Cause, Innovating the Future

Sometimes, you may accidentally commit sensitive information like passwords or API keys to your Git repository. If the sensitive information is in a file like .env, you should remove it from the commit history to prevent it from being exposed. Oh, my... I have been there before. 😰


By continuing you agree to our

Privacy Policy