Do Git and Dropbox work together well?

364180 pts.
Tags:
Cloud Computing
Dropbox
Git
I apologize in advance if this is too short of a question (I'm a beginner to cloud computing) but how do I use Git and Dropbox together effectively? Are there any problems with using both of them together?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Git and service Drop Box can work together and it is very convenient. They are “connected” to have access to the repository from any computer. Can use the service Github, but the free version of the account access to the repository is open to everyone. But it is only suitable for open source projects.

Setting up a remote repository Dropboks. Now we will discuss how to link Git and Dropbox.
First we need to create a remote repository. To do this folder with your project, right click, select from the menu “Git Bash”. Next, write the command:

$ git clone –bare . /d/My\ Dropbox/Public/testproject.git

With this command, we create a remote repository and copy into it our local repository.

To avoid writing such a long command permanently, you can create an alias (it will be visible in the utility Git GUI). Perform the following command.

$ git remote add testproject /d/My\ Dropbox/Public/testproject.git

Add all files of the project

$ git commit -a -m “Commit message”

Synchronize changes to the remote repository

$ git push shared project master

Now our repository with the project stored on Dropbox server.

To get a copy of the repository and work with it on a different computer, you need it to install Git and Dropbox, and run the following commands in Git Bash

$ git clone /d/My\ Dropbox/Public/testproject.git
$ git remote add sharedproject /d/My\ Dropbox/Public/testproject.git
$ git pull sharedproject master

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following