James Flower

C# .NET and Web Developer

Tag: git

There is 1 post with the "git" tag.

Removing Sensitive Information from Git with git-filter-repo

Posted on
4 min read

Git has become the de facto standard in source control. Over 90% of respondents to the 2021 Stack Overflow Developer Survey indicated that they use Git. However, sometimes mistakes can be made and sensitive or secret information accidentally end up in the commit history. Thankfully, tools such as git-filter-repo exist to help rewrite history (the history of a git repository anyway)! In this post, I am going to go through using git-filter-repo to scrub a password or secret from a git repo