You have a password or some secret in your Git repository, and you want to remove it. I recently had the same problem in one of my repositories. I will show you a convenient and simple way to get rid of any accidentally committed secret in your Git repository.
Today, I will show you a simple but effective way to get rid of secrets in your Git repository.
We committed a secret into a Git repository. The secret will always remain in the Git history.
While there are native Git commands like git filter-branch that we can use to rewrite the Git history, it still is somewhat error-prone. It is especially true if you haven't used those commands before.
Luckily, I came across BFG Repo Cleaner.
00:00 Introduction
00:35 The Problem
01:29 Possible Solutions
01:51 BFG Repo Cleaner
02:22 Removing Secrets
03:55 Exposed Secrets
🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
[ Ссылка ]
📌 .NET Developer Roadmap
[ Ссылка ]
📌 YouTube Playlists:
The FREE Blazor Crash Course: [ Ссылка ]
C# Programming: [ Ссылка ]
📋 BFG Repo Cleaner
[ Ссылка ]
✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 [ Ссылка ]
🚀 CONNECT & SUPPORT
Twitter: [ Ссылка ]
Blog: [ Ссылка ]
Newsletter: [ Ссылка ]
CREDITS
🎵 [ Ссылка ]
✴ Title Photo by krakenimages on Unsplash.
* Affiliate Link: I earn a small commission at no additional cost
![](https://s2.save4k.ru/pic/z8tIOYg_oho/maxresdefault.jpg)