2017 © Pedro Peláez
 

composer-plugin composer-cleanup-vcs-dirs

Automatically deletes .git directories in newly installed or updated dependencies.

image

topfloor/composer-cleanup-vcs-dirs

Automatically deletes .git directories in newly installed or updated dependencies.

  • Thursday, October 6, 2016
  • by bmcclure
  • Repository
  • 1 Watchers
  • 0 Stars
  • 80 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

composer-cleanup-vcs-dirs

If you're stuck needing to commit your composer dependencies, you might find you need to delete some extra .git directories after every time you install or update something with Composer., (*1)

While not a best practice, sometimes it's simply a requirement., (*2)

How to use the plugin

When required in composer.json, the plugin will automatically search for any .git directories in installed or updated dependencies and delete them immediately., (*3)

There's nothing else you need to do after requiring this plugin in your main composer.json file., (*4)

Running the command directly

You can also run the cleanup-vcs-dirs command directly in Composer., (*5)

To do so, simply run:, (*6)

composer cleanup-vcs-dirs

Your entire project will be scanned, and all child .git directories under the project directory will be deleted., (*7)

The Versions

06/10 2016

dev-master

9999999-dev

Automatically deletes .git directories in newly installed or updated dependencies.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

06/10 2016

1.0.1

1.0.1.0

Automatically deletes .git directories in newly installed or updated dependencies.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

02/10 2016

1.0.0

1.0.0.0

Automatically deletes .git directories in newly installed or updated dependencies.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires