Python script to peek what various commits someone did
Project description
Installation
pip install git-peek
pip install git+https://github.com/sherry-ummen/git-peek.git
Description
Python script to peek what various commits someone did
Usage
usage: git-peek [-h] [–version] [-v] [-vv] [-a AUTHOR] [-x] [-n LINE_LIMIT] [-f] [-nb]
Git Peek
- optional arguments:
- -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
Examples:
Check commits from you in the current branch
git-peek
Check commit from some specific user
git-peek -a “Johnny English”
Limit the number of lines of output
git-peek -a “Johnny English” -n 10
Check commit from user across branches
git-peek -a “Johnny English” -n 10 -x
git fetch –all before listing the commits
git-peek -a “Johnny English” -n 10 -f
list all the new branches since you last fetched (Note: It will just do a dry run)
git-peek -nb
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for git_peek-1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 967f338cce4bb75bc2e327f7d67240dce22ceefb07cde5f1892ed9d20e30a59f |
|
MD5 | 645cda0617f9d7183a768a5305858db5 |
|
BLAKE2b-256 | ba396f60afe333e112376f2e9092a2740a5292a1b4ea75900e28417a0694e560 |