Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

cross-platform git utilities for managing a large number of git repositories quickly

Project description Maintainability


Platform-independent (Linux/Mac/Windows) Git utilities, useful for managing large (100+) numbers of Git repos. I use command-line git because PyGit also requires command-line Git installed, and I don’t need the advanced functionality.

For embedded systems using system Python such as the Raspberry Pi, you can set the default Python to Python 3 using update-alternatives.


Install Git in a way accessible from the command line line

  • Mac: brew install git
  • Linux: apt install git
  • Windows: command line Git.
  • BSD: pkg install git


python -m pip install -e .

Sync large number of git repos in subdirectories

These assume numerous subdirectories under ~/code or c:\code. They work very quickly for large numbers (100+) repos

program description check if any repos have pending changes git pull all repos git fetch all repos

You can place an empty file .nogit in a subdirectory if you don’t want it to be checked for pull or push. For, the changed files are noted–you have to cd to that directory and commit/push as usual.

Program listing

Program Function Pulls all git repos under directory [~/code] Pushes ” ” ” ” ” “ Fetches ” “
gitbranch Tells of any non-master branches under directory [~/code]
git_filemode_windows Sets all git repos to don’t care permissions under directory [~/code] list all contributor email addresses. Optionally, amend email addresses for prior Git commits print list of changed files OR run a program to edit/view them

Preview all changed Jekyll files

This is for a website made using Jekyll: --jekyll

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pygitutils-1.1.0-py3-none-any.whl (12.0 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 19, 2018
pygitutils-1.1.0.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None Apr 19, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page