Skip to content

daggerok/git-remote-dropbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

git-remote-dropbox

Using Dropbox folder as a Git remote

installation process

  1. Install by using pip
pip install git-remote-dropbox
  1. Generate an OAuth 2 token by using developer app console
  • create Dropbox API app token:
    • with "Full Dropbox" access if you're going to be using Dropbox's sharing features to use git-remote-dropbox in a multi-user setup
    • or with "App folder" access if you prefer use single-user setup
  • and create an access token for yourself
  1. Save your OAuth token in ~/.config/git/git-remote-dropbox.json or ~/.git-remote-dropbox.json file. The file should looks like this:
{
   "default": "xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxx"
}

NOTE: see details in authored GitHub page

lets you use Dropbox folder (or a shared folder) as a Git remote!

Once the helper is installed, use it like so:

  • clone dropbox folder as a repo:
    git clone "dropbox:///path/to/repo" -b master
  • add remote to existing repo:
    git remote add origin "dropbox:///path/to/repo"

NOTE: The repository directory will be created automatically the first time you push.

links

About

Using Dropbox folder as a Git remote

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published