Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

git-gdrive: format-patch / am over Google Drive

Project Description

git-gdrive allows to use Google Drive as a way to exchange patches.

Designed to quickly exchange patches between different machines or to share with teammates.

git gdrive push is the equivalent of git format-patch + upload to gdrive.
git gdrive pull is the equivalent of download from gdrive + git am.


Linux / Mac

pip install --user git-gdrive

And add the following to you ~/.bashrc

# On Linux
export PATH="$PATH:$HOME/.local/bin"

# On Mac
export PATH="$PATH:$HOME/Library/Python/2.7/bin"


# If using depot_tools
cd C:\depot_tools\python276_bin\Scripts

pip install git-gdrive
git-gdrive auth


Pushing a set of patchset to GDrive

$ git gdrive push #<optional format-patch args>
Uploading a patch consisting of 2 commits (@{upstream}..HEAD):
   10309dc patch 1 []
   1fb8c00 patch 2 []

Uploading /git-drive/primiano-master-2016-01-15_01-03.patch

Upload successful. Use "git gdrive pull" to apply.

Pulling and applying a patchfile from GDrive

$ git gdrive pull
Select which file to pull and apply:
  1) primiano-master-2016-01-15_01-03.patch
  2) primiano-master-2016-01-15_00-17.patch
  3) primiano-master-2016-01-15_00-17.patch

Enter id or file name, just ENTER to pull 1): 1
Pulling /git-drive/primiano-master-2016-01-15_01-03.patch
Running git am -3 /tmp/tmptP1Swe

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.0 kB) Copy SHA256 Hash SHA256
Source Jan 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting