-1

I have project that is shared through Dropbox with someone who refuses to use git. However, I like the branch and rollback characteristics of git. For the moment, I the structure I have is the following:

Dropbox
├── Project
│   ├── Folder
│   │   ├── file1
│   │   ├── file2
│   ├── .git
│   ├── .gitattributes
│   ├── .gitignore

I also mount the Project folder as a bind mount somewhere else. How could I move the git folder outside the Dropbox and still keep everything working?

Keizer
  • 23
  • 2

1 Answers1

1

Never store a .git directory where Dropbox or some other similar sharing system will damage it (this is your current setup). See clu's answer and IBrum's answer to Using Git and Dropbox together effectively? (Beware of the accepted answer there; see the comments!)

torek
  • 448,244
  • 59
  • 642
  • 775