🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

gchome

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gchome

Run garbage collect on all `git` repositories found under `$HOME`.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

gchome

Run garbage collect on all git repositories found under $HOME.

Note:

  • Developed and targeted for Linux platform, should work in BSD/OSX as well.
  • This application is distributed via npm, however this is not a Node.js application.

Install

As npm script:

npm install gchome

As global command:

sudo npm install -g gchome

After this gchome should be available in your CLI.

Note: sudo maybe optional depending on your npm setup.

Usage

As npm script:

Include following in your package.json

"scripts": {
  "gchome": "gchome"
}

then,

npm run gchome

History

Started as a shell script that recursively rung git gc --prune=0 on the my projects directory back in 2014.

Eventually expanded the include more directories and finally covering all git repositories the script can find (recursively) inside $HOME.

License

Copyright 2016 Sudaraka Wijesinghe sudaraka@sudaraka.org

This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it and/or modify it under the terms of the BSD 2-clause License. See the LICENSE file for more details.

FAQs

Package last updated on 02 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts