Skip to contentSkip to conversation

Treat submodules as normal directories/files?

DISCUSSION [email protected] 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi!

Is it possible to treat submodules as normal
directories/files?

I'm using Git not just for source code, but also for documents and my "projects" directory (mainly an Eclipse Workspace) in my home directory. Though Git may not be designed for this, it is an easy way do create a backup and sync my home directory between my machines :-).

This works fine, except for Git repositories inside my home (projects) directory. Is there a way, to treat them like normal directories so I can add them via git add?

Thank you and thanks for Git, which is just great :-).

Signature · 2 lines
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
#1 lore raw

Hi,

Quoted 9 lines · [email protected] wrote:

Is it possible to treat submodules as normal directories/files?

I'm using Git not just for source code, but also for documents and my "projects" directory (mainly an Eclipse Workspace) in my home directory. Though Git may not be designed for this, it is an easy way do create a backup and sync my home directory between my machines :-).

See [1] for a similar question. Though the answer in your case is likely to be completely different; I suspect you might find bup[2] interesting.

Hope that helps,
Jonathan

[1] http://thread.gmane.org/gmane.comp.version-control.git/144847
[2] http://github.com/apenwarr/bup#readme