Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is putting git repositories inside of a Dropbox folder not recommended?

When creating a Git repository inside of a Dropbox folder using the GitHub application for OSX I get the following message:

Putting git repositories inside of a Dropbox folder is not recommended. Are you sure you want to create a repository here?

Why isn't that recommended?

like image 503
Oskar Persson Avatar asked Oct 10 '13 19:10

Oskar Persson


People also ask

Can you use git in Dropbox?

Because git-remote-dropbox uses an on-disk format that's compatible with Git, accessing your repository without using the helper is easy: Download the repository data (a directory containing the objects and refs directories) from Dropbox. Make a new directory and initialize an empty Git repository in the directory.

Can you link GitHub to Dropbox?

Dropbox + GitLab IntegrationsZapier lets you send info between Dropbox and GitLab automatically—no code required. Triggers when a new file is added to a folder. Make sure the number of files/folders in the watched folder does not exceed 4000.

Can you put repositories in folders GitHub?

Original answer: On GitHub itself, you cannot group your repos by "folder", unless you create organizations.

What should I not store in git?

You shouldn't store credentials like usernames, passwords, API keys and API secrets. If someone else steals your credentials, they can do nasty things with it.


1 Answers

If people are modifying files and using dropbox to do the syncing, you will likely run into problems.

If you use dropbox as a convenient way to give people read only links to your work, then I have found no issues with this and have been doing it for years.

like image 64
SwimBikeRun Avatar answered Oct 16 '22 17:10

SwimBikeRun