Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a git wrapper for dropbox
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
git-dropbox

README.md

git-dropbox

a dropbox wrapper for git

Installation

$ curl -skL http://git.io/git-dropbox > /usr/local/bin/git-dropbox
$ chmod +x /usr/local/bin/git-dropbox

Usage

First you have to set your Dropbox Git repository path -

$ git config --global dropbox.path <path>

For example I have my dropbox installed in ~/Dropbox. So, I've created a folder called Git in there and then run the following command in my terminal -

$ git config --global dropbox.path ~/Dropbox/Git

Now, to enable dropbox support for any git repository, do the following -

$ git dropbox init

Now, to push your changes to dropbox -

$ git dropbox push

If you run git dropbox for at least once. Then, It'll create an alias db for you. So, you can do git db <command> instead of git dropbox <command> after the first run.

Something went wrong with that request. Please try again.