{"id":16992216,"url":"https://github.com/marcusfelling/bfg-vscode","last_synced_at":"2025-04-12T03:32:05.351Z","repository":{"id":234769058,"uuid":"789476566","full_name":"MarcusFelling/bfg-vscode","owner":"MarcusFelling","description":"VS Code wrapper for the BFG Repo-Cleaner to remove credentials from your git history.","archived":false,"fork":false,"pushed_at":"2024-05-06T16:04:31.000Z","size":112,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T23:36:21.553Z","etag":null,"topics":["credentials","git","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=MFelling.bfg-vscode","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarcusFelling.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-20T16:54:43.000Z","updated_at":"2024-09-15T12:54:23.000Z","dependencies_parsed_at":"2024-04-20T18:42:36.458Z","dependency_job_id":"8e7b562b-7093-43c8-93ca-e0a07353c25b","html_url":"https://github.com/MarcusFelling/bfg-vscode","commit_stats":null,"previous_names":["marcusfelling/bfg-vscode"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fbfg-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fbfg-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fbfg-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fbfg-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcusFelling","download_url":"https://codeload.github.com/MarcusFelling/bfg-vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512833,"owners_count":21116687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["credentials","git","vscode-extension"],"created_at":"2024-10-14T03:28:37.922Z","updated_at":"2025-04-12T03:32:05.096Z","avatar_url":"https://github.com/MarcusFelling.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Credential Purge VS Code Extension\n\nVS Code wrapper for the [BFG Repo-Cleaner](https://rtyley.github.io/bfg-repo-cleaner/) to remove credentials from your git history.\n\n## ⚙️ Prerequisites\n\n- The [Java Runtime Environment](https://www.java.com/en/download/manual.jsp) (Java 8 or above - BFG v1.12.16 was the last version to support Java 7, [v1.12.3](https://repo1.maven.org/maven2/com/madgag/bfg/1.12.3/bfg-1.12.3.jar) was the last version to support Java 6)\n- Before getting started, ensure your repository is backed up. It is also recommended to merge or close all open pull requests before removing files from your repository.\n\n## ✅ Getting Started\n\n1. Install the extension\n1. Open the command palette (Ctrl+Shift+P), type \"Remove credentials from git history\", press enter.\n![Run via Command Palette](./images/commandPalette.png)\n1. Enter repo URL.\n![Enter repo URL](./images/enterRepoURL.png)\n1. Enter credential to remove.\n![Enter cred to remove](./images/enterCred.png)\n\n## 💡 Features\n\nStep by step walkthrough using the Command Palette to peform the following:\n\n1. Clones a fresh copy of your repo using the --mirror flag.\n\n1. Installs BFG: This step downloads the BFG jar file from the official repository and saves it in the workspace folder.\n\n1. Enter credential to remove: This step prompts the user to enter the credential to remove, writes this credential to a file in the workspace folder, and uses the `--replace-text` option of BFG Repo-Cleaner to replace this credential with `***REMOVED***` in the repository's history.\n\n1. Remove credentials: This step runs the BFG Repo-Cleaner with the `--replace-text` option to replace the specified credential with `***REMOVED***` in the repository's history.\n\n1. Clean your repository: This step runs the `git reflog expire --expire=now --all \u0026\u0026 git gc --prune=now --aggressive` command to clean the repository.\n\n1. Push the changes: This step runs the `git push --force` command to push the changes to the remote repository.\n\n## 📃 Docs\n\n- BFG Repo-Cleaner: [https://rtyley.github.io/bfg-repo-cleaner](https://rtyley.github.io/bfg-repo-cleaner/)\n- GitHub: [Removing sensitive data from a repository](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository#fully-removing-the-data-from-github)\n\n## 🚚 Release Notes\n\n### 0.1.6\n\nInitial release\n\n### 0.1.7\n\nSet up CI with GitHub Actions\n\n### 0.1.8\n\nShow progress bar between git commands\n\n### 0.1.9\n\nShow feedback message to file GitHub Issue\n\n### 0.2.0\n\nSupport repos that don't use post-fixed .git URLs\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusfelling%2Fbfg-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcusfelling%2Fbfg-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusfelling%2Fbfg-vscode/lists"}