Don’t you ever setup another version control server, Mercurial, SVN, CVS, or any other you may know.
What is GIT?
“In software development, Git /ɡɪt/ is a distributed version control and source code management (SCM) system with an emphasis on speed. Initially designed and developed by Linus Torvalds for Linux kernel development, Git has since been adopted by many other projects.”
What is Dropbox
“Dropbox is a file hosting service operated by Dropbox, Inc., that offers cloud storage, file synchronization, and client software. Dropbox allows users to create a special folder on each of their computers, which Dropbox then synchronizes so that it appears to be the same folder (with the same contents) regardless of which computer is used to view it. Files placed in this folder also are accessible through a website and mobile phone applications.”
How to setup a GIT repo into your Dropbox account
Of course most of you already know what is GIT or Dropbox, so let’s start with the cool part of the post. Obiously you need to have Drobox and GIT installed on you PC or laptop.
1. First you need to create an empty folder on your Dropbox.
2. Init the remote folder into your local Dropbox
Perform an ls command and you’ll see some folders
3. Now lets clone the current GIT repository to a destination on your PC or laptop
4. Let’s perform an initial commit and push it into the origin
Now you’re all set, start working on your GIT project ;)
or maybe you need to….
Clone your local GIT repo into your Dropbox account
Thanks to @httpdss for this contribution.
Go to your dropbox folder and clone your local repo with the –bare option
Go to your local_repo folder and add dropbox git repo you’ve just cloned as a remote
It’s done! but remember to push your local changes into dropbox remote.