{"id":13836996,"url":"https://github.com/Masterminds/rmvcsdir","last_synced_at":"2025-07-10T16:31:37.493Z","repository":{"id":57516183,"uuid":"52962810","full_name":"Masterminds/rmvcsdir","owner":"Masterminds","description":"remove version control directories","archived":false,"fork":false,"pushed_at":"2016-03-03T15:03:19.000Z","size":6,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-14T06:14:12.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Masterminds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-02T12:57:11.000Z","updated_at":"2022-02-07T00:21:30.000Z","dependencies_parsed_at":"2022-08-30T01:40:41.458Z","dependency_job_id":null,"html_url":"https://github.com/Masterminds/rmvcsdir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2Frmvcsdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2Frmvcsdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2Frmvcsdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2Frmvcsdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Masterminds","download_url":"https://codeload.github.com/Masterminds/rmvcsdir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225648061,"owners_count":17502171,"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":[],"created_at":"2024-08-04T15:00:58.901Z","updated_at":"2024-11-20T23:32:06.032Z","avatar_url":"https://github.com/Masterminds.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# rmvcsdir - remove version control directories\n\nThis utility takes in one or more paths and recursively walks their complete\ndirectory trees deleting Git, Bzr, SVN, and Mercurial directories along the way.\n\n[![Build Status](https://travis-ci.org/Masterminds/rmvcsdir.svg?branch=master)](https://travis-ci.org/Masterminds/rmvcsdir) [![Build status](https://ci.appveyor.com/api/projects/status/0s5dw5yyrvboy2u9?svg=true\u0026passingText=windows%20build%20passing\u0026failingText=windows%20build%20failing)](https://ci.appveyor.com/project/mattfarina/rmvcsdir) [![Go Report Card](https://goreportcard.com/badge/github.com/Masterminds/rmvcsdir)](https://goreportcard.com/report/github.com/Masterminds/rmvcsdir)\n\n_Warning: This is a destructive operation where you likely cannot recover the\nfiles afterwards. Do this at your own risk._\n\n## Options/Flags\n\n* `-dryrun`: Display locations to delete without deleting them.\n* `-quiet`: Do not display output unless an error occurs.\n* `-skip-check`: Skip checking if locations exist.\n\n## Examples:\n\nDeleting files from a single directory:\n```sh\n$ rmvcsdir ./vendor\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/semver/.git\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs/.git\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/.git\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/gopkg.in/yaml.v2/.git\n```\n\nDeleting files from multiple directories:\n```sh\n$ rmvcsdir ~/Code/myproj ~/Code/myproj2/vendor\n...\n```\n\nPerform a dry run where files are not deleted but you can see what would be deleted:\n```sh\n$ rmvcsdir -dryrun ./vendor\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/semver/.git\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs/.git\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/.git\nDeleting: /Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/gopkg.in/yaml.v2/.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMasterminds%2Frmvcsdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMasterminds%2Frmvcsdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMasterminds%2Frmvcsdir/lists"}