python脚本来查看某人所做的各种提交
git-peek的Python项目详细描述
安装
pip安装git peek
pip install git+https://github.com/sherry-ummen/git-peek.git
说明
python脚本来查看某人所做的各种提交
用法
用法:git peek[-h][-版本][-v[-vv[-a作者][-x[-n行数限制][-f[-nb]
Git Peek
- 可选参数:
-h, --help show this help message and exit --version show program’s version number and exit -v, --verbose set loglevel to INFO -vv, --very-verbose set loglevel to DEBUG -a AUTHOR, --author AUTHOR commit author -x, --across show commit across all branches -n LINE_LIMIT, --nl LINE_LIMIT limit the number of log lines -f, --fetch fetch all before showing the log entries -nb, --new-branches show new branches which are not fetched yet
示例:
在当前分支中检查来自您的提交
git peek
选中某些特定用户的提交
git peek-a“约翰尼英语”
限制输出行数
git peek-a“约翰尼英语”-n 10
检查用户跨分支提交
git peek-a“约翰尼英语”-n 10-x
git fetch–列出提交之前的所有操作
git peek-a“约翰尼英语”-n 10-f
列出分支机构中所有用户的提交
git peek-a”“-n 10-f-x
列出自上次提取以来的所有新分支(注意:它只会进行一次试运行)
git peek-nb