Using Dropbox as a remote Git repository

Based on a post at StackOverflow:

  1. Create a bare repository inside a Dropbox folder. This would act as a remote repo.
  2. Inside the local repo, use push --mirror remote_repo_name to make that remote repo look exactly like the local one (except the remote is a bare repository). This will push all refs (branches and tags) including non-fast-forward updates.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you a human? Answer this simple question to prove it! * Time limit is exhausted. Please reload CAPTCHA.