用于命名哈希的cli和python包
git-name的Python项目详细描述
git名称
一个git扩展和python包,用于将哈希转换为可记住的名称
安装
来自pypi
{cd1}
或者从github master
pip install git+https://github.com/CircArgs/git-name.git
使用
贝壳
CircArgs $ git name -h usage: git name [-h][-f][-l LENGTH] word_or_hash convert hashes to memorable names positional arguments: word_or_hash optional arguments: -h, --help show this help message and exit -f, --from `from hash` flag used to denote argument is a hash. -l LENGTH, --length LENGTH `hash length`(default=7) truncate the input output hash to this length CircArgs $ git name efa8f31 ten occupied nuts CircArgs $ git name -f "ten occupied nuts" efa8f31 CircArgs $ git name -f "five fat frogs" a42cd68 # use names with git instead of hashes CircArgs $ git checkout $(git name -f "five fat frogs")
Python
^{pr2}$- 项目
标签: