1
继“非管理员安装”的指令预提交的website,我跑以下命令:如何卸载预提交
curl http://pre-commit.com/install-local.py | python
这些指令提供了以下注释:“(升级:运行再次,卸载:通过卸载到python)“
现在,我想卸载预先提交。我想了解如何将卸载传递给Python。我不确定什么路过uninstall
需要。
我已经试过:
curl http://pre-commit.com/install-local.py | python --uninstall
curl http://pre-commit.com/install-local.py | --uninstall python
curl http://pre-commit.com/install-local.py | uninstall | python
..和其他可能更废话变化的情侣。所有这些因素造成:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Unknown option: -n
usage: /usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
100 2590 100 2590 0 0 14175 0 --:--:-- --:--:-- --:--:-- 14230
(23) Failed writing body
所以这导致了以下注释:'〜清理/ .PRE提交 - VENV〜/斌/预commit'。 但预安装似乎仍然安装。任何你能想到的理由都不能使用上面的命令完全卸载吗? – kuanb
不知道,我试过在我的机器上,它似乎删除它? https://gist.github.com/madebydavid/1e225ef912984044e02996993b5f269e – madebydavid