filmov
tv
How to Remove Secrets from Git History

Показать описание
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:
📋 BFG Repo Cleaner
✅ SUBSCRIBE FOR MORE VIDEOS
🚀 CONNECT & SUPPORT
CREDITS
✴ Title Photo by krakenimages on Unsplash.
* Affiliate Link: I earn a small commission at no additional cost
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:
📋 BFG Repo Cleaner
✅ SUBSCRIBE FOR MORE VIDEOS
🚀 CONNECT & SUPPORT
CREDITS
✴ Title Photo by krakenimages on Unsplash.
* Affiliate Link: I earn a small commission at no additional cost
Комментарии