https://github.com/daggerok/git-remote-dropbox
Using Dropbox folder as a Git remote
https://github.com/daggerok/git-remote-dropbox
git-remote-helper
Last synced: 4 months ago
JSON representation
Using Dropbox folder as a Git remote
- Host: GitHub
- URL: https://github.com/daggerok/git-remote-dropbox
- Owner: daggerok
- Created: 2019-05-09T16:36:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-09T16:59:11.000Z (over 6 years ago)
- Last Synced: 2025-02-27T02:23:48.631Z (11 months ago)
- Topics: git-remote-helper
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-remote-dropbox
Using Dropbox folder as a Git remote
__installation process__
1) Install by using pip
```bash
pip install git-remote-dropbox
```
2) Generate an OAuth 2 token by using [developer app console](https://www.dropbox.com/developers/apps)
* 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
3) Save your OAuth token in `~/.config/git/git-remote-dropbox.json` or `~/.git-remote-dropbox.json` file.
The file should looks like this:
```json
{
"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:
```bash
git clone "dropbox:///path/to/repo" -b master
```
* add remote to existing repo:
```bash
git remote add origin "dropbox:///path/to/repo"
```
NOTE: _The repository directory will be created automatically the first time you push._
_links_
* [GitHub: anishathalye/git-remote-dropbox](https://github.com/anishathalye/git-remote-dropbox)