{"thread":{"id":"24381","subject":"Treat submodules as normal directories/files?","startedAt":"2010-07-13T06:14:51Z","lastAt":"2010-07-13T06:48:59Z","messageCount":2,"participants":["wiekaltheut@gmx.de","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"145428","messageId":"20100713061451.308580@gmx.net","threadId":"24381","inReplyTo":null,"subject":"Treat submodules as normal directories/files?","fromName":"","fromEmail":"wiekaltheut@gmx.de","sentAt":"2010-07-13T06:14:51Z","receivedAt":"2010-07-13T06:14:51Z","isPatch":false,"sender":{"key":"wiekaltheut@gmx.de","avatar":null},"body":"Hi!\n\nIs it possible to treat submodules as normal \ndirectories/files?\n\nI'm using Git not just for source code, but also for \ndocuments and my \"projects\" directory (mainly an\nEclipse Workspace) in my home directory. Though Git\nmay not be designed for this, it is an easy way do\ncreate a backup and sync my home directory between\nmy machines :-).\n\nThis works fine, except for Git repositories inside my \nhome (projects) directory. Is there a way, to treat \nthem like normal directories so I can add them via git \nadd?\n\nThank you and thanks for Git, which is just great :-).\n-- \nGMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  \nBis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl\n"},{"id":"145429","messageId":"20100713064859.GA2918@burratino","threadId":"24381","inReplyTo":"20100713061451.308580@gmx.net","subject":"Re: Treat submodules as normal directories/files?","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-07-13T06:48:59Z","receivedAt":"2010-07-13T06:48:59Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi,\n\nwiekaltheut@gmx.de wrote:\n\n> Is it possible to treat submodules as normal \n> directories/files?\n> \n> I'm using Git not just for source code, but also for \n> documents and my \"projects\" directory (mainly an\n> Eclipse Workspace) in my home directory. Though Git\n> may not be designed for this, it is an easy way do\n> create a backup and sync my home directory between\n> my machines :-).\n\nSee [1] for a similar question.  Though the answer in your\ncase is likely to be completely different; I suspect you\nmight find bup[2] interesting.\n\nHope that helps,\nJonathan\n\n[1] http://thread.gmane.org/gmane.comp.version-control.git/144847\n[2] http://github.com/apenwarr/bup#readme\n"}]}