Stage files, add a commit message, push. No – wait! Not that file. And now we need to start googling.
Every developer has accidentally committed sensitive files in the past. So how do we fix the situation and ensure it wonʼt happen again?
In this article, Iʼll explain what to do when you accidentally commit a sensitive file and include the necessary Git commands to adjust the history.
How to uncommit sensitive files from git
#git #web-development #developer