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.
Installation
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"
Windows
# If using depot_tools
cd C:\depot_tools\python276_bin\Scripts
pip install git-gdrive
git-gdrive auth
Examples
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 [author@gmail.com]
1fb8c00 patch 2 [author@gmail.com]
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-gdrive-1.0.2.tar.gz
(6.0 kB
view details)
File details
Details for the file git-gdrive-1.0.2.tar.gz
.
File metadata
- Download URL: git-gdrive-1.0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8908dcf03b1e4735425a6ebaa804e8f7afa1a3d9420b613f4e7370ecf3769720
|
|
MD5 |
5a8f7d968cfc31c4b02cc285bce19139
|
|
BLAKE2b-256 |
8e7745837af36b78e1b54d3b11843ae45f937444fbea57547c4c5c5fc2281a24
|