![]() ![]() The set-up in this tutorial requires everyone who contributes to the code using GitHub to set up a clone of the repository in a local folder on their computer that is not the DropBox folder. The solution recommended in this tutorial This is usually not an acceptable solution to most research project teams as there will be researchers on the project that does not know GitHub and needs to be able to access the latest version of the data work files. The simplest solution from a strict technical perspective would be to keep the data work repository separated from the DropBox folder. Technically simplest but often not a preferred solution While conflicts can be solved, an even bigger issue is that two users cannot work on different branches at the same time if they work from a repository shared using DropBox, since if one user change branch, then DropBox will change the folder to that branch for all users. This will lead to a lot of conflicts in the repository. ![]() If one person makes an edit in a file synced both by DropBox and GitHub, then DropBox will sync that file immediately, and GitHub Desktop on any other user's computer will think that this edit was done by that user as well, and all users are then asked by their GitHub Desktop to commit and sync this edit regardless of which user actually made the edit. The reason this is an issue is that both DropBox and GitHub are services that syncs files, although in very different ways. This tutorial is tested on DropBox but should work just as well on Box, OneDrive or any other syncing service. ![]() The other folders have files like budget excel sheets, concept notes, contracts with survey firms etc. Usually the DropBox folder include many folders in addition to the data folder - the folder with files relevant to GitHub. Introductionįor good or for bad, in research we often want to use both DropBox and GitHub. Either open an issue if you have a comment/suggestion/bug you want to draw our attention to, or create a fork and submit a pull request if you want to edit language, improve how something is explained, or add to the common issue solutions or best practices in the Resources folder. We greatly appreciate any type of feedback or contribution to this repository. ![]() Tutorial on how to combine GitHub and DropBox Contributions to the tutorial is very welcomed! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |