Safely delete index.lock of the current project
$ npm install -g del-git-index
$ git-index --help
Usage:
$ git-index Deletes index.lock of the current project
Options:
-h, --help Show help options
-v, --version Show version
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.
- git-synced — 🎐 Keep a fork up to date
- repo-exist — Checks if GitHub repository exist
- gopn — Open GitHub repositories
- is-github-repo — Checks if string is a git repository
- git-url-prettify — Prettify git url
- git-url-uglify — Uglify git url
MIT © Bu Kinoshita