Socket
Book a DemoInstallSign in
Socket

del-git-index

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

del-git-index

Safely delete index.lock of the current project

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

del-git-index Build Status

Safely delete index.lock of the current project

Install

$ npm install -g del-git-index

Usage

$ git-index --help

  Usage:
    $ git-index        Deletes index.lock of the current project

  Options:
    -h, --help         Show help options
    -v, --version      Show version

Why

Accidentally deleted the entire git history by running rm -rf .git instead of running rm -rf .git/index.lock. So I don't have to worry anymore with pressing enter key by mistake.

Demo

License

MIT © Bu Kinoshita

Keywords

del

FAQs

Package last updated on 26 Jun 2017

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