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.
Install
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.
Uninstall
pip uninstall maildiff
Setup Config
git config --global maildiff.mailto recipient@email.com
git config --global maildiff.smtpserver smtp.gmail.com
git config --global maildiff.smtpserverport 587
git config --global maildiff.mailFrom sender@email.com
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.
Usage
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 email@domain.com - 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.
Note
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
Dependencies
######Type git maildiff -h for help in command line/ terminal
Contact
Email: sansupercool@duck.com
Website: www.devilsan.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file maildiff-2.0.0.tar.gz
.
File metadata
- Download URL: maildiff-2.0.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1744706cdf2e6934975e3b0371d2ce2f54a1c19682ba82c039bb6f6d225481d3 |
|
MD5 | 0349443cbc76efdf74c5d3b2b3f7a8dd |
|
BLAKE2b-256 | 893ac5e64cd74825c8c167b4283bff446b5bb7b18ae44e33682a2ca5f295630e |
File details
Details for the file maildiff-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: maildiff-2.0.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 605c9a9e5dcf2147114678bec793c3921ee786792bb922c863811865eb18a798 |
|
MD5 | 5a65bc698ce91ff076500a298d92fa5c |
|
BLAKE2b-256 | b1e85ea22073f3a26da97a75a19fe99a1db2f05505a512073d3ced92474b9c5b |