Skip to main content
Help us improve Python packaging – donate today!

Package to email color git diff

Project Description

# git maildiff

> **maildiff** is a simple git command to email diff in color to reviewer/ co-worker.

Navigate to git-maildiff directory you cloned or downlaoded from terminal

pip install .
where . refers to your current working directory i.e. inside git-maildiff
and you are good to go.

pip uninstall maildiff

###Setup Config

git config --global maildiff.mailto

git config --global maildiff.smtpserver

git config --global maildiff.smtpserverport 587

git config --global maildiff.mailFrom

git config --global maildiff.smtpencryption tls

e.g. Gmail uses tls encryption

if you forget to run the above setup the git maildiff command will prompts each
one by one and update in .gitconfig the email password is stored in OS keychain.


**git maildiff** - Email the diff of commited or uncommited changes in colored to multiple recipients and allows attaching patches.

**git maildiff -d 'HEAD^1'** - will email the diff.

when no -diff or -d flag is passed with value the default value is **git diff HEAD^ HEAD**

**git maildiff -to** - will email diff to this email address.

**git maildiff -v** - use the -v flag to enable verbosity and display what command is run and what is the result of executed command.

**type git maildiff -h** in shell for more help.


If you are behind a proxy server, and you are having issues accessing git repository you can update gitconfig to add
proxy settings like

git config --global http.proxy http://mydomain\\myusername:mypassword@myproxyserver:8080






**colorama** (for windows only)

######Type **git maildiff -h** for help in command line/ terminal

## Contact

**Email:** <>

**Website:** []( "click to got to website")

[![Licence]( )](

Release history Release notifications

This version
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
maildiff-1.2.0.tar.gz (9.1 kB) Copy SHA256 hash SHA256 Source None May 24, 2015

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