Skip to content

Instantly share code, notes, and snippets.

@wutupake
Last active March 27, 2017 15:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wutupake/5204104 to your computer and use it in GitHub Desktop.
Save wutupake/5204104 to your computer and use it in GitHub Desktop.
TERMINAL: Git repository on Dropbox (you can use Sugarsync, Box.net, ...)
// Init Git on your Dropbox folder (es: "index.git" is the name of the repo)
git init --bare index.git
// Add origin repository on your project folder
git remote add origin file:///Path/to/your/Dropbox/folder/index.git/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment