Skip to main content

Python script to peek what various commits someone did

Project description


pip install git-peek

pip install git+


Python script to peek what various commits someone did


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
 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


  • Check commits from you in the current branch


  • 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 commits from all users across branches

    git-peek -a “ “ -n 10 -f -x

  • list all the new branches since you last fetched (Note: It will just do a dry run)

    git-peek -nb

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

git_peek-1.3-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page