Setting up a git repository in Dropbox is just eazzzy!

Set up a Git Repo on Dropbox

1) Go to your dropbox shared folder ~/Dropbox/projects/
2) Make a new git repo directory ex. > mkdir project1.git
3) Create a blank repo ex. > cd project1.git; git init --bare;
4) Now you can clone the directory and share it with your teammate

Clone the git repo and ready for development

1) Go to your favorite project directory ex. ~/projects
2) Clone one of the git projects in this directory.
ex. git clone ~/Dropbox/projects/projectx.git
3) Now you can edit, commit and push the files back to the shared directory.
Advertisements
This entry was posted in Programing and tagged , , , , . Bookmark the permalink.

One Response to Setting up a git repository in Dropbox is just eazzzy!

  1. Dropbox is one the most important software that we should have on our PC. I really liked & enjoyed your article. I want to share an important article with your readers as well. Plz have a look.
    http://topbullets.com/2014/03/02/how-to-do-proxy-setting-for-dropbox-under-college-proxy-server/

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s